mapping-geojson-osm/mappings/extractors/hospitals_france.sh
2024-10-28 12:52:23 +01:00

10 lines
351 B
Bash

#!/bin/bash
# export depuis OSM des hopitaux
# 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;'
export_file="hospitals_zone_france_from_openstreetmap"
source ../../update_scripts/functions.sh
extract_from_osm $url $export_file