2024-10-18 16:04:49 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# export depuis OSM des points
|
2024-10-18 16:07:37 +02:00
|
|
|
# leisure=hackerspace
|
2024-10-18 16:04:49 +02:00
|
|
|
# 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["leisure"="hackerspace"](area.searchArea);out+geom;'
|
|
|
|
|
2024-10-18 16:07:37 +02:00
|
|
|
export_file="hackerspace_zone_france_from_openstreetmap"
|
2024-10-27 10:03:49 +01:00
|
|
|
source ../../update_scripts/functions.sh
|
|
|
|
extract_from_osm $url $export_file
|