mirror of
https://forge.chapril.org/tykayn/wololo
synced 2025-06-20 01:34:42 +02:00
réinit
This commit is contained in:
commit
996524bc6d
107 changed files with 1295536 additions and 0 deletions
22
update_scripts/convert_irve.sh
Executable file
22
update_scripts/convert_irve.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
echo "convertir les fichiers de données depuis etalab_data/irve_bornes_recharge en fichier osm "
|
||||
overpass_website="https://overpass-api.de/api/interpreter"
|
||||
# personnaliser les scripts:
|
||||
# aire Essonne: id 3600007401
|
||||
# aire IDF: id 3600008649
|
||||
# aire FR: id 3602202162
|
||||
|
||||
output_file_name='irve_osm_latest'
|
||||
|
||||
|
||||
echo " - mapping du fichier IRVE publié par Etalab "
|
||||
ts-node convert_to_osm_tags.ts --source="etalab_data/irve_bornes_recharge/latest.json" --output-file="_irve-latest-etalab.geojson" --engine-config=mappingConfigIRVE
|
||||
|
||||
echo " - mapping des analyses Osmose sur l'item 8411 (charging_station)"
|
||||
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" --engine-config=mappingConfigIRVE
|
||||
|
||||
echo "fichier généré: $PWD/output/converted__irve-latest-etalab.json"
|
||||
|
||||
|
||||
|
||||
cd update_scripts
|
Loading…
Add table
Add a link
Reference in a new issue