From e0189986a932df99bc6643dc9541c8a1e33486e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 12 Oct 2017 20:11:52 +0200 Subject: [PATCH] misc: change query format for decheterie/donnerie For a unknown reason data.grandlyon doesn't accept PropertyIsEqualTo for those object types. --- debian/50gnm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/50gnm.py b/debian/50gnm.py index dde5347..afe45cf 100644 --- a/debian/50gnm.py +++ b/debian/50gnm.py @@ -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=identifiant[identifiant]", "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=identifiant[identifiant]", "cache_duration": 86400, "force_async": False, "name": u"Donnerie",