summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-05-18 12:36:56 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-05-18 12:37:35 (GMT)
commit876687f5484eb5139d34896978186159f5b3200c (patch)
tree06ba68beab82bdb217adcc20f4626bef3f4cf696
parentefd24eb99a557dae589f5a476799681c18cb0ce0 (diff)
downloadcombo-plugin-gnm-876687f5484eb5139d34896978186159f5b3200c.zip
combo-plugin-gnm-876687f5484eb5139d34896978186159f5b3200c.tar.gz
combo-plugin-gnm-876687f5484eb5139d34896978186159f5b3200c.tar.bz2
switch silos-a-verre data source to geojson
-rw-r--r--debian/50gnm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/50gnm.py b/debian/50gnm.py
index e4f6b04..6d8278c 100644
--- a/debian/50gnm.py
+++ b/debian/50gnm.py
@@ -268,7 +268,7 @@ JSON_CELL_TYPES = {
}
},
"silo-a-verre": {
- "url": "https://download.data.grandlyon.com/ws/grandlyon/gic_collecte.gicsiloverre/all.json?field=identifiant&value=[identifiant]",
+ "url": "https://download.data.grandlyon.com/wfs/grandlyon?SERVICE=WFS&VERSION=2.0.0&outputformat=GEOJSON&request=GetFeature&typename=gic_collecte.gicsiloverre&filter=<Filter><PropertyIsEqualTo><PropertyName>identifiant</PropertyName><Literal>[identifiant]</Literal></PropertyIsEqualTo></Filter>",
"cache_duration": 86400,
"force_async": False,
"name": u"Silo à verre",