From cc7dec3f7205ef164dd9c0a408647363acf89b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 26 Feb 2020 08:31:55 +0100 Subject: [PATCH] debian: add toilette data source (#40186) --- debian/50gnm.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/debian/50gnm.py b/debian/50gnm.py index c1e0dde..0faacb1 100644 --- a/debian/50gnm.py +++ b/debian/50gnm.py @@ -413,6 +413,19 @@ JSON_CELL_TYPES = { } ] }, + "toilette": { + "url": "https://download.data.grandlyon.com/wfs/grandlyon?SERVICE=WFS&VERSION=2.0.0&request=GetFeature&typename=adr_voie_lieu.toilettepublique_latest&outputFormat=application/json;%20subtype=geojson&startIndex=0&filter=gid[gid]", + "cache_duration": 86400, + "force_async": False, + "name": u"Toilette publique", + "form": [ + { + "varname": "gid", + "type": "string", + "label": "gid" + } + ] + }, "evenement-routier": { "url": "https://%(data_username)s:%(data_password)s@download.data.grandlyon.com/wfs/rdata?SERVICE=WFS&VERSION=2.0.0&outputformat=GEOJSON&request=GetFeature&typename=pvo_patrimoine_voirie.pvoevenement&filter=id[id]" % DATA_CREDENTIALS, "cache_duration": 86400,