2023-08-30 11:38:36 +02:00
|
|
|
#!/bin/bash
|
2023-10-12 16:06:56 +02:00
|
|
|
echo "convertir les fichiers de données depuis etalab_data/irve_bornes_recharge en fichier osm "
|
2023-08-30 11:38:36 +02:00
|
|
|
overpass_website="https://overpass-api.de/api/interpreter"
|
2023-09-01 11:12:54 +02:00
|
|
|
# personnaliser les scripts:
|
|
|
|
# aire Essonne: id 3600007401
|
|
|
|
# aire IDF: id 3600008649
|
|
|
|
# aire FR: id 3602202162
|
2023-08-30 11:38:36 +02:00
|
|
|
|
2023-10-01 10:42:27 +02:00
|
|
|
output_file_name='irve_osm_latest'
|
2023-08-30 11:38:36 +02:00
|
|
|
|
2023-10-12 15:45:31 +02:00
|
|
|
|
2023-10-12 16:06:56 +02:00
|
|
|
echo " - mapping du fichier IRVE publié par Etalab "
|
2024-10-18 15:55:37 +02:00
|
|
|
ts-node convert_to_osm_tags.ts --source="etalab_data/irve_bornes_recharge/latest.json" --output-file="_irve-latest-etalab.geojson"
|
2023-10-12 17:06:06 +02:00
|
|
|
|
2023-10-12 16:06:56 +02:00
|
|
|
echo " - mapping des analyses Osmose sur l'item 8411 (charging_station)"
|
2024-10-18 15:55:37 +02:00
|
|
|
ts-node convert_to_osm_tags.ts --osmose=true --source="etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" --output-file="irve-latest-osmose.geojson"
|
2023-10-01 10:42:27 +02:00
|
|
|
|
2023-10-12 15:45:31 +02:00
|
|
|
echo "fichier généré: $PWD/output/converted__irve-latest-etalab.json"
|
2023-10-01 11:23:07 +02:00
|
|
|
|
2023-10-12 16:06:56 +02:00
|
|
|
|
2023-10-01 10:42:27 +02:00
|
|
|
|
2024-09-26 12:15:24 +02:00
|
|
|
cd update_scripts
|