add osmose geojson

This commit is contained in:
Tykayn 2023-10-07 11:02:14 +02:00 committed by tykayn
parent 114cf9081d
commit 9b44d6964e

View File

@ -1,6 +1,7 @@
default: irve default: irve
irve: irve:
# update the open data sources, convert them to osm file # update the open data sources, convert them to osm file
wget https://osmose.openstreetmap.fr/api/0.3/issues.geojson?item=8410&full=true -O ./etalab_data/irve_bornes_recharge/osmose-irve-item-8410.json
wget https://www.data.gouv.fr/fr/datasets/r/7eee8f09-5d1b-4f48-a304-5e99e8da1e26 -O ./etalab_data/irve_bornes_recharge/latest.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_" 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" geojson2osm "output/converted__irve-latest-etalab_.json" > "osm_output/bornes-irve-filetered_latest.osm"