switch silos-a-verre data source to geojson

This commit is contained in:
Frédéric Péters 2020-05-18 14:36:56 +02:00
parent efd24eb99a
commit 876687f548
1 changed files with 1 additions and 1 deletions

2
debian/50gnm.py vendored
View File

@ -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",