mapping-geojson-osm/makefile

16 lines
1.3 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-09 12:16:11 +02:00
bash ./update_scripts/get_datasets.sh
2023-10-07 21:38:09 +02:00
echo "fichiers récupérés"
2023-10-01 15:14:12 +02:00
irve:
# update the open data sources, convert them to osm file
2023-10-07 22:51:54 +02:00
# wget https://osmose.openstreetmap.fr/api/0.3/issues.geojson?full=true&status=open&item=8410&limit=20000 -O ./etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json
# wget https://www.data.gouv.fr/fr/datasets/r/7eee8f09-5d1b-4f48-a304-5e99e8da1e26 -O ./etalab_data/irve_bornes_recharge/latest.json
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 "
osmose_irve:
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"