Skip to content

Commit

Permalink
feat(context): updating wfs-test context for ogcFilters's options. (#135
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pelord authored and mbarbeau committed Apr 12, 2018
1 parent a57dd15 commit 964dfb7
Showing 1 changed file with 65 additions and 18 deletions.
83 changes: 65 additions & 18 deletions src/demo-app/contexts/wfs_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,29 @@
"outputFormat": "text/xml; subtype=gml/3.1.1",
"outputFormatDownload": "shp"
},
"filters": {
"logical": "Or",
"filters": [
{"operator": "During", "propertyName": "dat_debut_", "begin": "2014", "end": "2016"},
{"operator": "PropertyIsEqualTo", "propertyName": "nom_unite_", "pattern": "CS de Lévis"},
{"operator": "PropertyIsLike", "propertyName": "ide_unite_", "pattern": "3*"}
]
"isOgcFilterable": true,
"ogcFilters": {
"filtersAreEditable": true,
"filters": {
"logical": "Or",
"filters": [{
"operator": "During",
"propertyName": "dat_debut_",
"begin": "2014",
"end": "2016"
},
{
"operator": "PropertyIsEqualTo",
"propertyName": "nom_unite_",
"pattern": "CS de Lévis"
},
{
"operator": "PropertyIsLike",
"propertyName": "ide_unite_",
"pattern": "3*"
}
]
}
}
},
{
Expand All @@ -69,13 +85,29 @@
"outputFormat": "geojson",
"outputFormatDownload": "shp"
},
"filters": {
"logical": "Or",
"filters": [
{"operator": "During", "propertyName": "dat_debut_", "begin": "2014", "end": "2016"},
{"operator": "PropertyIsEqualTo", "propertyName": "nom_unite_", "pattern": "CS de Lévis"},
{"operator": "PropertyIsLike", "propertyName": "ide_unite_", "pattern": "3*"}
]
"isOgcFilterable": true,
"ogcFilters": {
"filtersAreEditable": true,
"filters": {
"logical": "Or",
"filters": [{
"operator": "During",
"propertyName": "dat_debut_",
"begin": "2014",
"end": "2016"
},
{
"operator": "PropertyIsEqualTo",
"propertyName": "nom_unite_",
"pattern": "CS de Lévis"
},
{
"operator": "PropertyIsLike",
"propertyName": "ide_unite_",
"pattern": "3*"
}
]
}
}
},
{
Expand All @@ -93,7 +125,15 @@
"outputFormat": "geojson",
"outputFormatDownload": "shp"
},
"filters": {"operator": "PropertyIsEqualTo", "propertyName": "cap_severite", "pattern": "Mineure"}
"isOgcFilterable": true,
"ogcFilters": {
"filtersAreEditable": true,
"filters": {
"operator": "PropertyIsEqualTo",
"propertyName": "cap_severite",
"pattern": "Mineure"
}
}
},
{
"name": "vg sans filtre",
Expand Down Expand Up @@ -145,7 +185,15 @@
"outputFormat": "text/xml; subType=gml/3.1.1"

},
"filters": {"operator": "PropertyIsLike", "propertyName": "Code_d_organisme", "pattern": "01*"}
"isOgcFilterable": true,
"ogcFilters": {
"filtersAreEditable": true,
"filters": {
"operator": "PropertyIsLike",
"propertyName": "Code_d_organisme",
"pattern": "01*"
}
}
}

],
Expand All @@ -157,8 +205,7 @@
"print"
],

"tools": [
{
"tools": [{
"name": "searchResults"
},
{
Expand Down

0 comments on commit 964dfb7

Please sign in to comment.