mapping-geojson-osm/makefile

12 lines
1020 B
Makefile

default: irve
irve:
# update the open data sources, convert them to osm file
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_"
geojson2osm "output/converted__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:
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"