2024-10-17 12:25:25 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-10-27 09:37:52 +01:00
|
|
|
# export depuis OSM des musées en France
|
2024-10-17 12:25:25 +02:00
|
|
|
|
|
|
|
echo -e "\n récupération de données depuis OpenStreetMap \n"
|
|
|
|
|
2024-10-18 15:36:34 +02:00
|
|
|
url='https://overpass-api.de/api/interpreter?data=[out:json][timeout:300];area(id:3602202162)->.searchArea;node["tourism"="museum"](area.searchArea);out+geom;'
|
|
|
|
|
2024-10-17 12:25:25 +02:00
|
|
|
|
2024-10-17 13:40:46 +02:00
|
|
|
export_file="museum_zone_france_from_openstreetmap"
|
2024-10-27 10:03:49 +01:00
|
|
|
source ../../update_scripts/functions.sh
|
|
|
|
extract_from_osm $url $export_file
|