update decheterie/donnerie URL to use json format

The GeoJSON query doesn't work atm for those sources.
This commit is contained in:
Frédéric Péters 2017-08-29 17:56:27 +02:00
parent 4f8b6fed66
commit bd8bba2be4
1 changed files with 2 additions and 2 deletions

4
debian/50gnm.py vendored
View File

@ -143,7 +143,7 @@ JSON_CELL_TYPES = {
]
},
"decheterie": {
"url": "https://download.data.grandlyon.com/wfs/grandlyon?SERVICE=WFS&VERSION=2.0.0&outputformat=GEOJSON&request=GetFeature&typename=gip_proprete.gipdecheterie&filter=<Filter><PropertyIsEqualTo><PropertyName>identifiant</PropertyName><Literal>[identifiant]</Literal></PropertyIsEqualTo></Filter>",
"url": "https://download.data.grandlyon.com/ws/grandlyon/gip_proprete.gipdecheterie/all.json?field=identifiant&value=[identifiant]",
"cache_duration": 86400,
"force_async": False,
"name": u"Déchèterie",
@ -156,7 +156,7 @@ JSON_CELL_TYPES = {
]
},
"donnerie": {
"url": "https://download.data.grandlyon.com/wfs/grandlyon?SERVICE=WFS&VERSION=2.0.0&outputformat=GEOJSON&request=GetFeature&typename=gip_proprete.gipdonnerie&SRSNAME=urn:ogc:def:crs:EPSG::4326filter=<Filter><PropertyIsEqualTo><PropertyName>identifiant</PropertyName><Literal>[identifiant]</Literal></PropertyIsEqualTo></Filter>",
"url": "https://download.data.grandlyon.com/ws/grandlyon/gip_proprete.gipdonnerie/all.json?field=identifiant&value=[identifiant]",
"cache_duration": 86400,
"force_async": False,
"name": u"Donnerie",