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

10 lines
343 B
Bash

#!/bin/bash
# export depuis OSM des mairies
# en France
url='https://overpass-api.de/api/interpreter?data=[out:json][timeout:300];area(id:3602202162)->.searchArea;nwr["amenity"="townhall"](area.searchArea);out+meta;'
export_file="mairies_points_from_openstreetmap"
source ../../update_scripts/functions.sh
extract_from_osm $url $export_file