debian: add toilette data source (#40186)

This commit is contained in:
Frédéric Péters 2020-02-26 08:31:55 +01:00
parent 5e0cf67424
commit cc7dec3f72
1 changed files with 13 additions and 0 deletions

13
debian/50gnm.py vendored
View File

@ -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=<Filter><PropertyIsEqualTo><PropertyName>gid</PropertyName><Literal>[gid]</Literal></PropertyIsEqualTo></Filter>",
"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=<Filter><PropertyIsEqualTo><PropertyName>id</PropertyName><Literal>[id]</Literal></PropertyIsEqualTo></Filter>" % DATA_CREDENTIALS,
"cache_duration": 86400,