2024-10-18 15:36:34 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-10-27 09:37:52 +01:00
|
|
|
# export depuis OSM des restaurants
|
2024-10-18 15:36:34 +02:00
|
|
|
# "amenity"="restaurant" 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"="restaurant"](area.searchArea);out+geom;'
|
|
|
|
|
2024-10-18 16:07:37 +02:00
|
|
|
export_file="restaurant_zone_france_from_openstreetmap"
|
2024-10-27 10:03:49 +01:00
|
|
|
source ../../update_scripts/functions.sh
|
|
|
|
extract_from_osm $url $export_file
|