Skip to content

Commit

Permalink
feat(export): Export format, restricted list by layer, examples (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord authored Feb 18, 2021
1 parent 79b504f commit 3ad23f1
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions src/contexts/testExport.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,60 @@
"url": "https://ws.mapserver.transports.gouv.qc.ca/swtq"
}
},
{
"title": "WFS with imposed export format 2",
"visible": false,
"sourceOptions": {
"download": {
"allowedFormats": ["kml","csvcomma"]
},
"queryable": true,
"params": {
"featureTypes": "vg_observation_v_autre_wmst",
"fieldNameGeometry": "geometry",
"maxFeatures": 10000,
"version": "2.0.0"
},
"type": "wfs",
"url": "https://geoegl.msp.gouv.qc.ca/apis/ws/igo_gouvouvert.fcgi",
"ogcFilters": {
"enabled": true,
"editable": false,
"filters": {
"operator": "PropertyIsEqualTo",
"propertyName": "severite",
"expression": "Extrême"
}
}
}
},
{
"title": "WFS with imposed export format 1",
"visible": false,
"sourceOptions": {
"download": {
"allowedFormats": ["geojson","csvcomma"]
},
"queryable": true,
"params": {
"featureTypes": "vg_observation_v_autre_wmst",
"fieldNameGeometry": "geometry",
"maxFeatures": 10000,
"version": "2.0.0"
},
"type": "wfs",
"url": "https://geoegl.msp.gouv.qc.ca/apis/ws/igo_gouvouvert.fcgi",
"ogcFilters": {
"enabled": true,
"editable": false,
"filters": {
"operator": "PropertyIsEqualTo",
"propertyName": "severite",
"expression": "Extrême"
}
}
}
},
{
"title": "WFS",
"visible": false,
Expand Down

0 comments on commit 3ad23f1

Please sign in to comment.