switch mairie source from passerelle to data.grandlyon

This commit is contained in:
Frédéric Péters 2018-03-02 11:29:16 +01:00
parent 1f8142082d
commit f18877b310
1 changed files with 1 additions and 1 deletions

2
debian/50gnm.py vendored
View File

@ -106,7 +106,7 @@ JSON_CELL_TYPES = {
]
},
"mairie": {
"url": "[passerelle_url]csvdatasource/mairies/data?identifiant=[identifiant]",
"url": "https://download.data.grandlyon.com/wfs/grandlyon?SERVICE=WFS&VERSION=2.0.0&outputformat=GEOJSON&maxfeatures=30&request=GetFeature&typename=adr_voie_lieu.adrmairiepct&SRSNAME=urn:ogc:def:crs:EPSG::4326&filter=<Filter><PropertyIsEqualTo><PropertyName>identifiant</PropertyName><Literal>[identifiant]</Literal></PropertyIsEqualTo></Filter>",
"cache_duration": 86400,
"force_async": False,
"name": u"Mairie",