scripts/mapping_geojson_to_osm_tags/refresh_data.sh

13 lines
393 B
Bash
Raw Normal View History

2023-07-29 17:24:34 +02:00
#!/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