misc: change query format for decheterie/donnerie

For a unknown reason data.grandlyon doesn't accept PropertyIsEqualTo
for those object types.
This commit is contained in:
Frédéric Péters 2017-10-12 20:11:52 +02:00
parent 9647785b3a
commit e0189986a9
1 changed files with 2 additions and 2 deletions

4
debian/50gnm.py vendored
View File

@ -210,7 +210,7 @@ JSON_CELL_TYPES = {
]
},
"decheterie": {
"url": "https://download.data.grandlyon.com/ws/grandlyon/gip_proprete.gipdecheterie/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=gip_proprete.gipdecheterie&filter=<Filter><PropertyIsLike wildcard='*' singleChar='.' escape='!'><PropertyName>identifiant</PropertyName><Literal>[identifiant]</Literal></PropertyIsLike></Filter>",
"cache_duration": 86400,
"force_async": False,
"name": u"Déchèterie",
@ -223,7 +223,7 @@ JSON_CELL_TYPES = {
]
},
"donnerie": {
"url": "https://download.data.grandlyon.com/ws/grandlyon/gip_proprete.gipdonnerie/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=gip_proprete.gipdonnerie&filter=<Filter><PropertyIsLike wildcard='*' singleChar='.' escape='!'><PropertyName>identifiant</PropertyName><Literal>[identifiant]</Literal></PropertyIsLike></Filter>",
"cache_duration": 86400,
"force_async": False,
"name": u"Donnerie",