From 9200183f53d980a82227bd80fd33de5932b3c5be Mon Sep 17 00:00:00 2001 From: Olav_2 Date: Sun, 3 Oct 2021 18:47:53 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20des=20vendeurs=20de=20v=C3=A9los=20non?= =?UTF-8?q?=20sp=C3=A9cialis=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- recup_donnees_OSM_Overpass.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recup_donnees_OSM_Overpass.py b/recup_donnees_OSM_Overpass.py index a923696..e6f8612 100644 --- a/recup_donnees_OSM_Overpass.py +++ b/recup_donnees_OSM_Overpass.py @@ -37,7 +37,7 @@ retry_delay = 120 # id Romagnat : 138269 # l'id de l'area se calcule en ajoutant 3600000000 au numéro de l'objet OSM -aire_de_recherche = str(3600000000+110866) +aire_de_recherche = str(3600000000+7406) @@ -175,7 +175,8 @@ requetes_overpass = { "vendeurs_velo" : { #"critere" : '["shop"="bicycle"]', - "critere" : """nwr["shop"="bicycle"](area:"""+aire_de_recherche+"); ", + "critere" : """nwr["shop"="bicycle"](area:"""+aire_de_recherche+"); "+ + """nwr["service:bicycle:retail"="yes"](area:"""+aire_de_recherche+"); ", "fields" : { "shop" : {"export_json" : "Non", "FR" : ""}, "name" : {"export_json" : "Oui", "FR" : ""},