13 lines
393 B
Bash
13 lines
393 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# get the updated geojson
|
||
|
wget https://www.data.gouv.fr/fr/datasets/r/7eee8f09-5d1b-4f48-a304-5e99e8da1e26 -P ./etalab_data
|
||
|
# filter its tags
|
||
|
nvm use stable
|
||
|
pnpm i
|
||
|
node convert_to_osm_tags.mjs
|
||
|
# convert the new geojson to osm file
|
||
|
geojsontoosm etalab_data/consolidation-etalab-schema-irve-statique-v-2.2.0-20230727.json > osm_output/bornes-irve.osm
|
||
|
|
||
|
echo "conversion faite"
|
||
|
# done
|