17 lines
1.0 KiB
Makefile
17 lines
1.0 KiB
Makefile
default: irve
|
|
get_files:
|
|
bash ./update_scripts/get_irve.sh
|
|
echo "fichiers récupérés"
|
|
irve:
|
|
bash ./update_scripts/get_datasets.sh
|
|
pnpm i
|
|
# update the open data sources, convert them to osm file
|
|
ts-node convert_to_osm_tags.ts --engine=true --source="etalab_data/irve_bornes_recharge/latest.json" --outname="_irve-latest-etalab"
|
|
geojson2osm "output/my_converted_data_set__irve-latest-etalab.json" > "osm_output/bornes-irve-filetered_latest.osm"
|
|
echo "you can open the irve converted osm file in JOSM : osm_output/bornes-irve-filetered_latest.osm "
|
|
osmose_irve:
|
|
pnpm i
|
|
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"
|
|
#geojson2osm "etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" > "osm_output/osmose-item-irve-8411-intégrables.osm"
|
|
geojson2osm "output/my_converted_data_set__irve-latest-osmose.json" > "osm_output/my_converted_data_set__irve-latest-osmose.osm"
|