2024-10-18 15:36:34 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-10-28 12:52:23 +01:00
|
|
|
# export depuis OSM des hopitaux
|
2024-10-18 15:36:34 +02:00
|
|
|
# en France
|
|
|
|
|
|
|
|
url='https://overpass-api.de/api/interpreter?data=[out:json][timeout:300];area(id:3602202162)->.searchArea;nwr["amenity"="hospital"](area.searchArea);out+geom;'
|
|
|
|
|
2024-10-28 12:52:23 +01:00
|
|
|
export_file="hospitals_zone_france_from_openstreetmap"
|
2024-10-27 10:03:49 +01:00
|
|
|
source ../../update_scripts/functions.sh
|
|
|
|
extract_from_osm $url $export_file
|