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

13 lines
453 B
Bash
Raw Normal View History

#!/bin/bash
# export depuis OSM des caméras de surveillance
# "man_made"="surveillance"
2024-10-18 15:36:34 +02:00
# en France
url='https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A300%5D%3B%0Aarea(id%3A3602202162)-%3E.searchArea%3B%0Anode%5B%22man_made%22%3D%22surveillance%22%5D(area.searchArea)%3B%0Aout+geom%3B'
2024-10-17 13:40:46 +02:00
export_file="surveillance_zone_france_from_openstreetmap"
source ../../update_scripts/functions.sh
extract_from_osm $url $export_file