15 lines
683 B
Bash
15 lines
683 B
Bash
#!/bin/bash
|
|
echo "récupérer les bornes de recharge en Essonne"
|
|
overpass_website="https://overpass-api.de/api/interpreter"
|
|
# personnaliser les scripts:
|
|
# aire Essonne: id 3600007401
|
|
# aire IDF: id 3600008649
|
|
# aire FR: id 3602202162
|
|
|
|
curl --header "Content-Type: plain/text" --data @content_irve_geojson.txt --trace-ascii website-data.log "$overpass_website" > ../data_other/irve_osm_2023-08-30.geojson
|
|
curl --header "Content-Type: plain/text" --data @content_irve_csv.txt --trace-ascii website-data.log "$overpass_website" > ../data_other/irve_osm_2023-08-30.csv
|
|
|
|
#du -sch ../data_other/irve_osm_2023-08-30.geojson
|
|
du -sch ../data_other/irve_osm_2023-08-30.csv
|
|
|
|
rm website-data.log |