2024-10-17 12:25:25 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-10-27 09:37:52 +01:00
|
|
|
# export depuis OSM des caméras de surveillance
|
2024-10-17 12:25:25 +02:00
|
|
|
# "man_made"="surveillance"
|
2024-10-18 15:36:34 +02:00
|
|
|
# en France
|
2024-10-17 12:25:25 +02:00
|
|
|
|
2024-10-18 12:27:27 +02:00
|
|
|
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 12:25:25 +02:00
|
|
|
|
2024-10-17 13:40:46 +02:00
|
|
|
export_file="surveillance_zone_france_from_openstreetmap"
|
2024-10-17 12:25:25 +02:00
|
|
|
|
2024-10-27 09:37:52 +01:00
|
|
|
source ../../update_scripts/functions.sh
|
|
|
|
extract_from_osm $url $export_file
|