2024-10-18 15:36:34 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# export depuis OSM des points
|
|
|
|
# "amenity"="toilets"
|
|
|
|
# en France
|
|
|
|
|
|
|
|
echo -e "\n récupération de données depuis OpenStreetMap \n"
|
|
|
|
|
|
|
|
url='https://overpass-api.de/api/interpreter?data=[out:json][timeout:300];area(id:3602202162)->.searchArea;nwr["amenity"="toilets"](area.searchArea);out+geom;'
|
|
|
|
|
|
|
|
export_file="toilets_zone_france_from_openstreetmap"
|
2024-10-27 10:03:49 +01:00
|
|
|
source ../../update_scripts/functions.sh
|
|
|
|
extract_from_osm $url $export_file
|