mapping-geojson-osm/makefile

12 lines
1020 B
Makefile
Raw Normal View History

2023-10-01 15:14:12 +02:00
default: irve
irve:
# update the open data sources, convert them to osm file
2023-10-07 11:48:32 +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
2023-10-01 15:17:56 +02:00
wget https://www.data.gouv.fr/fr/datasets/r/7eee8f09-5d1b-4f48-a304-5e99e8da1e26 -O ./etalab_data/irve_bornes_recharge/latest.json
2023-10-01 15:14:12 +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-01 15:17:56 +02:00
geojson2osm "output/converted__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:
ts-node convert_to_osm_tags.ts --engine=true --source="etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" --outname="_irve-latest-osmose_"
geojson2osm "output/converted__irve-latest-etalab_.json" > "osm_output/bornes-irve-filetered_latest.osm"