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

11 lines
408 B
Bash

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