mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-09 17:02:46 +02:00
ajout de followup sur plusieurs thèmes
This commit is contained in:
parent
ab1b9a9d3d
commit
0cdb2f9ae9
6 changed files with 501 additions and 120 deletions
|
@ -558,7 +558,7 @@ out meta;';
|
|||
}
|
||||
|
||||
/**
|
||||
* Génère la requête Overpass pour les bornes incendie et bornes de recharge
|
||||
* Génère la requête Overpass pour tous les objets de suivi (thématiques étendues)
|
||||
*/
|
||||
public function get_followup_query($zone) {
|
||||
return <<<QUERY
|
||||
|
@ -567,6 +567,12 @@ area["ref:INSEE"="$zone"]->.searchArea;
|
|||
(
|
||||
nwr["emergency"="fire_hydrant"](area.searchArea);
|
||||
nwr["amenity"="charging_station"](area.searchArea);
|
||||
nwr["amenity"="toilets"](area.searchArea);
|
||||
nwr["highway"="bus_stop"](area.searchArea);
|
||||
nwr["emergency"="defibrillator"](area.searchArea);
|
||||
nwr["man_made"="surveillance"](area.searchArea);
|
||||
nwr["amenity"="recycling"](area.searchArea);
|
||||
nwr["power"="substation"](area.searchArea);
|
||||
);
|
||||
out body;
|
||||
>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue