refresh data bash script
This commit is contained in:
parent
34aa2d9821
commit
51904f6332
@ -32,7 +32,7 @@ let mappingConfigIRVE = {
|
||||
nbre_pdc: "chargin_point:count",
|
||||
id_station_itinerance: "ref:EU:EVSE",
|
||||
id_station_local: "ref",
|
||||
consolidated_code_postal: "zipcode",
|
||||
// consolidated_code_postal: "zipcode",
|
||||
}
|
||||
|
||||
|
||||
|
1821699
mapping_geojson_to_osm_tags/etalab_data/7eee8f09-5d1b-4f48-a304-5e99e8da1e26
Normal file
1821699
mapping_geojson_to_osm_tags/etalab_data/7eee8f09-5d1b-4f48-a304-5e99e8da1e26
Normal file
File diff suppressed because it is too large
Load Diff
13
mapping_geojson_to_osm_tags/refresh_data.sh
Normal file
13
mapping_geojson_to_osm_tags/refresh_data.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user