16 lines
1007 B
Makefile
16 lines
1007 B
Makefile
default: irve
|
|
get_files:
|
|
bash ./update_scripts/get_datasets.sh
|
|
echo "fichiers récupérés"
|
|
irve: get_files
|
|
yarn
|
|
# update the open data sources, convert them to osm file
|
|
ts-node convert_to_osm_tags.ts --engine=true --source="etalab_data/irve_bornes_recharge/latest.json" --outname="_irve-latest-etalab"
|
|
geojson2osm "output/my_converted_data_set__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: get_files
|
|
yarn
|
|
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"
|
|
#geojson2osm "etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" > "osm_output/osmose-item-irve-8411-intégrables.osm"
|
|
geojson2osm "output/my_converted_data_set__irve-latest-osmose.json" > "osm_output/my_converted_data_set__irve-latest-osmose.osm"
|