From 3ad23f17505d7a44a8b4ac7918fb7494a51b5993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-=C3=89tienne=20Lord?= <7397743+pelord@users.noreply.github.com> Date: Thu, 18 Feb 2021 15:14:01 -0500 Subject: [PATCH] feat(export): Export format, restricted list by layer, examples (#588) --- src/contexts/testExport.json | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/src/contexts/testExport.json b/src/contexts/testExport.json index fdb4f7392..1eef7789d 100644 --- a/src/contexts/testExport.json +++ b/src/contexts/testExport.json @@ -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,