mirror of
https://forge.chapril.org/tykayn/wololo
synced 2025-06-20 01:34:42 +02:00
up makefile for irve
This commit is contained in:
parent
a732edc228
commit
2956a3ffee
2 changed files with 5 additions and 6 deletions
6
makefile
6
makefile
|
@ -18,11 +18,13 @@ get_files:
|
|||
|
||||
echo "fichiers récupérés"
|
||||
irve:
|
||||
bash ./update_scripts/convert_irve.sh
|
||||
wget https://www.data.gouv.fr/fr/datasets/r/7eee8f09-5d1b-4f48-a304-5e99e8da1e26 -O "latest.json"
|
||||
mv latest.json etalab_data/irve_bornes_recharge/
|
||||
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 " DONE "
|
||||
echo " "
|
||||
echo "you can open the IRVE converted osm file in JOSM : osm_output/bornes-irve-filetered_latest.osm "
|
||||
echo "you can open the IRVE converted osm file in JOSM : output/bornes-irve-filetered_latest.osm "
|
||||
echo "you can open the existing IRVE referenced in OSM : osm_output/bornes-irve-filetered_latest.osm "
|
||||
osmose_irve:
|
||||
pnpm i
|
||||
|
|
|
@ -8,15 +8,12 @@ overpass_website="https://overpass-api.de/api/interpreter"
|
|||
|
||||
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
|
||||
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