remove some files, add a batch runner
This commit is contained in:
parent
4b915c86d6
commit
403eb3c25c
@ -13,7 +13,7 @@ bash ./get_datasets.sh
|
|||||||
cd ..
|
cd ..
|
||||||
pwd
|
pwd
|
||||||
echo " - mapping du fichier IRVE publié par Etalab "
|
echo " - mapping du fichier IRVE publié par Etalab "
|
||||||
ts-node convert_to_osm_tags.ts --engine=true --source="etalab_data/irve_bornes_recharge/latest.json" --outname="_irve-latest-etalab"
|
ts-node convert_to_osm_tags.ts --source="etalab_data/irve_bornes_recharge/latest.json" --output-file="_irve-latest-etalab"
|
||||||
geojson2osm "$PWD/output/my_converted_data_set__irve-latest-etalab.json" > "$PWD/osm_output/bornes-irve-filetered_latest.osm"
|
geojson2osm "$PWD/output/my_converted_data_set__irve-latest-etalab.json" > "$PWD/osm_output/bornes-irve-filetered_latest.osm"
|
||||||
|
|
||||||
# convert existing data
|
# convert existing data
|
||||||
@ -21,10 +21,10 @@ geojson2osm "$PWD/data_other/irve_osm_latest.geojson" > "$PWD/osm_output/osm-exi
|
|||||||
|
|
||||||
|
|
||||||
echo " - mapping des analyses Osmose sur l'item 8411 (charging_station)"
|
echo " - mapping des analyses Osmose sur l'item 8411 (charging_station)"
|
||||||
ts-node convert_to_osm_tags.ts --osmose=true --engine=true --source="etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" --outname="_irve-latest-osmose"
|
ts-node convert_to_osm_tags.ts --osmose=true --source="etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" --jardinage --output-file="irve-latest-osmose"
|
||||||
geojson2osm "$PWD/output/my_converted_data_set__irve-latest-osmose.json" > "osm_output/my_converted_data_set__irve-latest-osmose.osm"
|
geojson2osm "$PWD/output/my_converted_data_set__irve-latest-osmose.json" > "osm_output/my_converted_data_set__irve-latest-osmose.osm"
|
||||||
|
|
||||||
#ts-node convert_to_osm_tags.ts --osmose=true --engine=true --source="etalab_data/défibrillateurs/dae-osmose-8370.json" --outname="_dae-osmose-8370-latest-osmose"
|
#ts-node convert_to_osm_tags.ts --osmose=true --engine=true --source="etalab_data/défibrillateurs/dae-osmose-8370.json" --output-file="_dae-osmose-8370-latest-osmose"
|
||||||
#geojson2osm "$PWD/output/my_converted_data_set__dae-osmose-8370-latest-osmose.json" > "osm_output/my_converted_data_set__dae-osmose-8370-latest-osmose.osm"
|
#geojson2osm "$PWD/output/my_converted_data_set__dae-osmose-8370-latest-osmose.json" > "osm_output/my_converted_data_set__dae-osmose-8370-latest-osmose.osm"
|
||||||
|
|
||||||
echo "fichier généré: $PWD/output/converted__irve-latest-etalab.json"
|
echo "fichier généré: $PWD/output/converted__irve-latest-etalab.json"
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
6
update_scripts/update_and_transform.sh
Normal file
6
update_scripts/update_and_transform.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# run this to update the data, convert it, and get the latest data from OSM at once.
|
||||||
|
|
||||||
|
bash get_datasets.sh
|
||||||
|
bash run_all_converters.sh
|
||||||
|
bash run_all_extractors.sh
|
Loading…
Reference in New Issue
Block a user