Skip to content

Instantly share code, notes, and snippets.

@eSlider
Created September 27, 2016 07:27
Show Gist options
  • Save eSlider/05b4fd6529185b298273ca608f20ddb6 to your computer and use it in GitHub Desktop.
Save eSlider/05b4fd6529185b298273ca608f20ddb6 to your computer and use it in GitHub Desktop.
Feature types definition
oprators:
numeric: ['<','>','==']
boolean: ['<>','==']
date: ['bettwen','==','<','>']
string: ['LIKE','NOT LIKE', 'RLIKE', 'LLIKE']
featureTypes:
- id: 1
name: IPE
table: ipe
sql: SELECT * FROM ipe
geometryField: geom
connection: default
schema: emgis
fields: "*"
constrains:
fields:
- name: ID
operators: numeric
placeholder: 'Nummer'
- name: Name
operators: string
placeholder: 'Value'
- name: Datum
operators: date
placeholder: 'Value'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment