mapping-geojson-osm/makefile

17 lines
1.0 KiB
Makefile
Raw Normal View History

2023-10-01 15:14:12 +02:00
default: irve
2023-10-07 21:38:09 +02:00
get_files:
2023-10-12 15:45:31 +02:00
bash ./update_scripts/get_irve.sh
2023-10-07 21:38:09 +02:00
echo "fichiers récupérés"
2023-10-12 15:45:31 +02:00
irve:
bash ./update_scripts/get_datasets.sh
2023-10-10 15:17:29 +02:00
pnpm i
2023-10-01 15:14:12 +02:00
# update the open data sources, convert them to osm file
2023-10-07 22:51:54 +02:00
ts-node convert_to_osm_tags.ts --engine=true --source="etalab_data/irve_bornes_recharge/latest.json" --outname="_irve-latest-etalab"
2023-10-09 12:16:11 +02:00
geojson2osm "output/my_converted_data_set__irve-latest-etalab.json" > "osm_output/bornes-irve-filetered_latest.osm"
2023-10-07 11:48:32 +02:00
echo "you can open the irve converted osm file in JOSM : osm_output/bornes-irve-filetered_latest.osm "
2023-10-12 15:45:31 +02:00
osmose_irve:
2023-10-10 15:17:29 +02:00
pnpm i
2023-10-07 22:51:54 +02:00
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"
2023-10-07 23:19:17 +02:00
#geojson2osm "etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" > "osm_output/osmose-item-irve-8411-intégrables.osm"
2023-10-07 22:51:54 +02:00
geojson2osm "output/my_converted_data_set__irve-latest-osmose.json" > "osm_output/my_converted_data_set__irve-latest-osmose.osm"