create makefile to get irve data
This commit is contained in:
parent
39479b858d
commit
6d42690404
@ -10,7 +10,7 @@ pnpm i
|
||||
## Tout convertir faire d'un coup
|
||||
Pour récupérer le jeu de données pour les bornes elec et convertir le geojson en fichier osm, lancer le script bash
|
||||
```bash
|
||||
bash refresh_data.sh
|
||||
make irve
|
||||
```
|
||||
|
||||
Export depuis overpass turbo dans OSM
|
||||
|
9
makefile
Normal file
9
makefile
Normal file
@ -0,0 +1,9 @@
|
||||
default: irve
|
||||
irve:
|
||||
# update the open data sources, convert them to osm file
|
||||
#cd update_scripts
|
||||
bash ./update_scripts/get_irve.sh
|
||||
cd ..
|
||||
ts-node convert_to_osm_tags.ts --engine=true --source="etalab_data/irve_bornes_recharge/latest.json" --outname="_irve-latest-etalab_"
|
||||
geojson2osm "$PWD/output/converted__irve-latest-etalab_.json" > "$PWD/osm_output/bornes-irve-filetered_latest.osm"
|
||||
echo "you can open the irve converted osm file in JOSM : $PWD/osm_output/bornes-irve-filetered_latest.osm "
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user