refresh data bash script

This commit is contained in:
Tykayn 2023-07-29 17:24:34 +02:00 committed by tykayn
parent 34aa2d9821
commit 51904f6332
3 changed files with 1821713 additions and 1 deletions

View File

@ -32,7 +32,7 @@ let mappingConfigIRVE = {
nbre_pdc: "chargin_point:count", nbre_pdc: "chargin_point:count",
id_station_itinerance: "ref:EU:EVSE", id_station_itinerance: "ref:EU:EVSE",
id_station_local: "ref", id_station_local: "ref",
consolidated_code_postal: "zipcode", // consolidated_code_postal: "zipcode",
} }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
#!/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