forked from Olav63/outils_OSM
factorisation de la requête stationnement non public
This commit is contained in:
parent
e9b36bbbbd
commit
8eeea16aae
@ -73,20 +73,21 @@ CHAMPS_ADRESSE = {
|
||||
"api_adresse:properties:street": {"export_json": "Non", "FR": "rue_etalab"},
|
||||
}
|
||||
|
||||
# pylint: disable=C0301
|
||||
STATIONNEMENT_NON_PUBLIC_REQ = r'nwr["amenity"="bicycle_parking"]["access"~"(no|permit|private|customers|permissive)"](area:aire_de_recherche);'
|
||||
REQS.append(
|
||||
Requete(
|
||||
"stationnements_velos_publics",
|
||||
# pylint: disable=C0301
|
||||
r'nwr["amenity"="bicycle_parking"](area:aire_de_recherche); - nwr["amenity"="bicycle_parking"]["access"~"(no|permit|private|customers|permissive)"](area:aire_de_recherche);',
|
||||
"stationnements_velos_non_publics",
|
||||
STATIONNEMENT_NON_PUBLIC_REQ,
|
||||
dict(CHAMPS_STATIONNEMENT, **CHAMPS_ADRESSE),
|
||||
)
|
||||
)
|
||||
|
||||
REQS.append(
|
||||
Requete(
|
||||
"stationnements_velos_non_publics",
|
||||
"stationnements_velos_publics",
|
||||
# pylint: disable=C0301
|
||||
r'nwr["amenity"="bicycle_parking"]["access"~"(no|permit|private|customers|permissive)"](area:aire_de_recherche);',
|
||||
rf'nwr["amenity"="bicycle_parking"](area:aire_de_recherche); - {STATIONNEMENT_NON_PUBLIC_REQ}',
|
||||
dict(CHAMPS_STATIONNEMENT, **CHAMPS_ADRESSE),
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user