get osm content and parse it in update

This commit is contained in:
Tykayn 2023-10-12 16:17:56 +02:00 committed by tykayn
parent 3c1106193c
commit 15b4aedb05
8 changed files with 751622 additions and 1 deletions

1
clean_french_irve.csv Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[out:csv(::id,::uid,::user,::changeset,::lon,::lat,'addr:postcode','addr:city',covered,layer,charging_type,'current:ac','current:dc','charging_station:output',capacity,voltage,amperage,socket,'note:location',access,charging_type,name,owner,network,operator,'operator:wikidata','operator:wikipedia','owner:ref:FR:SIREN',ref,'ref:EU:EVSE','email','contact:email','contact:phone',phone,contact,'socket:typee','socket:schuko','socket:type1','socket:type2','socket:type2:output','socket:type2_cable','socket:type2_combo','socket:type2_combo:output','socket:type3c','socket:type3c:output','socket:chademo','socket:chademo:output',fee,charge,'payment:contactless','parking:fee','payment:app','payment:credit_cards',reservation,authentication,'authentication:nfc','authentication:membership_card','authentication:none',bicycle,scooter,bus,hgv,motorcar,wheelchair,'survey:date',start_date,opening_hours,source,wikidata,description,note,fixme,shop,mapillary,panoramax)][timeout:25];area(id:3602202162)->.searchArea;(node["amenity"="charging_station"](area.searchArea););out meta;>;out meta qt;

View File

@ -0,0 +1 @@
[out:json][timeout:25];area(id:3600008649)->.searchArea; (node["amenity"="charging_station"](area.searchArea);); out center;

View File

@ -2,7 +2,7 @@
"version": 0.6,
"generator": "Overpass API 0.7.61.5 4133829e",
"osm3s": {
"timestamp_osm_base": "2023-10-12T13:57:26Z",
"timestamp_osm_base": "2023-10-12T14:15:00Z",
"timestamp_areas_base": "2023-10-12T13:07:13Z",
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
},

751615
latest.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -19,6 +19,8 @@ echo " - mapping des analyses Osmose sur l'item 8411 (charging_station)"
ts-node convert_to_osm_tags.ts --osmose=true --engine=true --source="etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" --outname="_irve-latest-osmose"
geojson2osm "$PWD/output/my_converted_data_set__irve-latest-osmose.json" > "osm_output/my_converted_data_set__irve-latest-osmose.osm"
#ts-node convert_to_osm_tags.ts --osmose=true --engine=true --source="etalab_data/défibrillateurs/dae-osmose-8370.json" --outname="_dae-osmose-8370-latest-osmose"
#geojson2osm "$PWD/output/my_converted_data_set__dae-osmose-8370-latest-osmose.json" > "osm_output/my_converted_data_set__dae-osmose-8370-latest-osmose.osm"
echo "fichier généré: $PWD/output/converted__irve-latest-etalab.json"