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

13 lines
453 B
Bash

#!/bin/bash
# export depuis OSM des caméras de surveillance
# "man_made"="surveillance"
# 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'
export_file="surveillance_zone_france_from_openstreetmap"
source ../../update_scripts/functions.sh
extract_from_osm $url $export_file