mapping-geojson-osm/mappings/extractors/hospitals_france.sh

10 lines
377 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 $www_folder/mapping-osm-geojson/update_scripts/functions.sh
extract_from_osm $url $export_file