up extracts from osm
This commit is contained in:
parent
1a1cb93a15
commit
fda394992b
File diff suppressed because it is too large
Load Diff
@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
|
|
||||||
<title>OSM3S Response</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<p>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</p>
|
|
||||||
<p><strong style="color:#FF0000">Error</strong>: line 1: parse error: Unknown output format: geojson </p>
|
|
||||||
<p><strong style="color:#FF0000">Error</strong>: line 1: static error: Unknown output format: geojson </p>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
|||||||
"version": 0.6,
|
"version": 0.6,
|
||||||
"generator": "Overpass API 0.7.62.1 084b4234",
|
"generator": "Overpass API 0.7.62.1 084b4234",
|
||||||
"osm3s": {
|
"osm3s": {
|
||||||
"timestamp_osm_base": "2024-10-18T09:27:54Z",
|
"timestamp_osm_base": "2024-10-18T13:03:09Z",
|
||||||
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
|
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
|
||||||
},
|
},
|
||||||
"elements": [
|
"elements": [
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -8780,7 +8780,7 @@ amenity;capacity;name;operator;wheelchair;id;latitude;longitude
|
|||||||
;2;;;;10067297504.0;4.9311554;45.7478406
|
;2;;;;10067297504.0;4.9311554;45.7478406
|
||||||
;2;;Freshmile SAS;;10068495383.0;1.3172649;43.3312332
|
;2;;Freshmile SAS;;10068495383.0;1.3172649;43.3312332
|
||||||
;2;;alizé;;10068658135.0;1.4503842;43.6039509
|
;2;;alizé;;10068658135.0;1.4503842;43.6039509
|
||||||
;;;;;10069084922.0;-0.4805666;43.8913154
|
;4;;;;10069084922.0;-0.4805666;43.8913154
|
||||||
;;;Izivia;;10069564005.0;4.9700049;45.7257534
|
;;;Izivia;;10069564005.0;4.9700049;45.7257534
|
||||||
;2;;SIEEN;;10072398688.0;2.926;47.4097267
|
;2;;SIEEN;;10072398688.0;2.926;47.4097267
|
||||||
;2;;Révéo;;10072469241.0;2.5708318;44.3638592
|
;2;;Révéo;;10072469241.0;2.5708318;44.3638592
|
||||||
@ -15114,6 +15114,7 @@ amenity;capacity;name;operator;wheelchair;id;latitude;longitude
|
|||||||
;2;;Communauté d’agglomération de l’Auxerrois;;12256429115.0;3.5496201;47.8502284
|
;2;;Communauté d’agglomération de l’Auxerrois;;12256429115.0;3.5496201;47.8502284
|
||||||
;2;;Communauté d’agglomération de l’Auxerrois;;12256429116.0;3.5496564;47.8501888
|
;2;;Communauté d’agglomération de l’Auxerrois;;12256429116.0;3.5496564;47.8501888
|
||||||
;2;;Communauté d’agglomération de l’Auxerrois;;12256429117.0;3.5497012;47.8500958
|
;2;;Communauté d’agglomération de l’Auxerrois;;12256429117.0;3.5497012;47.8500958
|
||||||
;;;;;12257933467.0;6.6764072;43.402178
|
;3;;;;12257933467.0;6.6764072;43.402178
|
||||||
;2;;la métropole mobilité;;12258060284.0;5.445624;43.5190996
|
;2;;la métropole mobilité;;12258060284.0;5.445624;43.5190996
|
||||||
;;;;;12258346802.0;-0.2348171;49.2494624
|
;;;;;12258346802.0;-0.2348171;49.2494624
|
||||||
|
;2;;;;12261076795.0;-1.1455784;45.7173746
|
||||||
|
Can't render this file because it is too large.
|
@ -129643,6 +129643,7 @@
|
|||||||
"type": "node",
|
"type": "node",
|
||||||
"id": 7338848875,
|
"id": 7338848875,
|
||||||
"tags": {
|
"tags": {
|
||||||
|
"access": "yes",
|
||||||
"amenity": "charging_station",
|
"amenity": "charging_station",
|
||||||
"capacity": "2",
|
"capacity": "2",
|
||||||
"fee": "yes",
|
"fee": "yes",
|
||||||
@ -241283,7 +241284,8 @@
|
|||||||
"id": 10069084922,
|
"id": 10069084922,
|
||||||
"tags": {
|
"tags": {
|
||||||
"access": "customers",
|
"access": "customers",
|
||||||
"amenity": "charging_station"
|
"amenity": "charging_station",
|
||||||
|
"capacity": "4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"geometry": {
|
"geometry": {
|
||||||
@ -243758,6 +243760,7 @@
|
|||||||
"type": "node",
|
"type": "node",
|
||||||
"id": 10079718920,
|
"id": 10079718920,
|
||||||
"tags": {
|
"tags": {
|
||||||
|
"access": "yes",
|
||||||
"amenity": "charging_station",
|
"amenity": "charging_station",
|
||||||
"capacity": "2",
|
"capacity": "2",
|
||||||
"fee": "yes",
|
"fee": "yes",
|
||||||
@ -410359,6 +410362,7 @@
|
|||||||
"type": "node",
|
"type": "node",
|
||||||
"id": 12241464775,
|
"id": 12241464775,
|
||||||
"tags": {
|
"tags": {
|
||||||
|
"access": "yes",
|
||||||
"amenity": "charging_station",
|
"amenity": "charging_station",
|
||||||
"fee": "yes",
|
"fee": "yes",
|
||||||
"motorcar": "yes",
|
"motorcar": "yes",
|
||||||
@ -412012,7 +412016,8 @@
|
|||||||
"type": "node",
|
"type": "node",
|
||||||
"id": 12257933467,
|
"id": 12257933467,
|
||||||
"tags": {
|
"tags": {
|
||||||
"amenity": "charging_station"
|
"amenity": "charging_station",
|
||||||
|
"capacity": "3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"geometry": {
|
"geometry": {
|
||||||
@ -412058,6 +412063,24 @@
|
|||||||
49.2494624
|
49.2494624
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"type": "node",
|
||||||
|
"id": 12261076795,
|
||||||
|
"tags": {
|
||||||
|
"amenity": "charging_station",
|
||||||
|
"capacity": "2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [
|
||||||
|
-1.1455784,
|
||||||
|
45.7173746
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"version": 0.6,
|
"version": 0.6,
|
||||||
"generator": "Overpass API 0.7.62.1 084b4234",
|
"generator": "Overpass API 0.7.62.1 084b4234",
|
||||||
"osm3s": {
|
"osm3s": {
|
||||||
"timestamp_osm_base": "2024-10-18T09:32:01Z",
|
"timestamp_osm_base": "2024-10-18T13:32:59Z",
|
||||||
"timestamp_areas_base": "2024-10-08T10:29:11Z",
|
"timestamp_areas_base": "2024-10-08T10:29:11Z",
|
||||||
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
|
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
|
||||||
},
|
},
|
||||||
@ -92818,6 +92818,7 @@
|
|||||||
"lat": 50.0328780,
|
"lat": 50.0328780,
|
||||||
"lon": 1.3162452,
|
"lon": 1.3162452,
|
||||||
"tags": {
|
"tags": {
|
||||||
|
"access": "yes",
|
||||||
"amenity": "charging_station",
|
"amenity": "charging_station",
|
||||||
"capacity": "2",
|
"capacity": "2",
|
||||||
"fee": "yes",
|
"fee": "yes",
|
||||||
@ -171042,7 +171043,8 @@
|
|||||||
"lon": -0.4805666,
|
"lon": -0.4805666,
|
||||||
"tags": {
|
"tags": {
|
||||||
"access": "customers",
|
"access": "customers",
|
||||||
"amenity": "charging_station"
|
"amenity": "charging_station",
|
||||||
|
"capacity": "4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -172781,6 +172783,7 @@
|
|||||||
"lat": 50.0329324,
|
"lat": 50.0329324,
|
||||||
"lon": 1.3162257,
|
"lon": 1.3162257,
|
||||||
"tags": {
|
"tags": {
|
||||||
|
"access": "yes",
|
||||||
"amenity": "charging_station",
|
"amenity": "charging_station",
|
||||||
"capacity": "2",
|
"capacity": "2",
|
||||||
"fee": "yes",
|
"fee": "yes",
|
||||||
@ -289910,6 +289913,7 @@
|
|||||||
"lat": 49.9715611,
|
"lat": 49.9715611,
|
||||||
"lon": 1.2056650,
|
"lon": 1.2056650,
|
||||||
"tags": {
|
"tags": {
|
||||||
|
"access": "yes",
|
||||||
"amenity": "charging_station",
|
"amenity": "charging_station",
|
||||||
"fee": "yes",
|
"fee": "yes",
|
||||||
"motorcar": "yes",
|
"motorcar": "yes",
|
||||||
@ -291099,7 +291103,8 @@
|
|||||||
"lat": 43.4021780,
|
"lat": 43.4021780,
|
||||||
"lon": 6.6764072,
|
"lon": 6.6764072,
|
||||||
"tags": {
|
"tags": {
|
||||||
"amenity": "charging_station"
|
"amenity": "charging_station",
|
||||||
|
"capacity": "3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -291121,6 +291126,16 @@
|
|||||||
"tags": {
|
"tags": {
|
||||||
"amenity": "charging_station"
|
"amenity": "charging_station"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"id": 12261076795,
|
||||||
|
"lat": 45.7173746,
|
||||||
|
"lon": -1.1455784,
|
||||||
|
"tags": {
|
||||||
|
"amenity": "charging_station",
|
||||||
|
"capacity": "2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,24 +8,12 @@ overpass_website="https://overpass-api.de/api/interpreter"
|
|||||||
|
|
||||||
output_file_name='irve_osm_latest'
|
output_file_name='irve_osm_latest'
|
||||||
|
|
||||||
bash ./get_datasets.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
pwd
|
|
||||||
echo " - mapping du fichier IRVE publié par Etalab "
|
echo " - mapping du fichier IRVE publié par Etalab "
|
||||||
ts-node convert_to_osm_tags.ts --source="etalab_data/irve_bornes_recharge/latest.json" --output-file="_irve-latest-etalab"
|
ts-node convert_to_osm_tags.ts --source="etalab_data/irve_bornes_recharge/latest.json" --output-file="_irve-latest-etalab.geojson"
|
||||||
geojson2osm "$PWD/output/my_converted_data_set__irve-latest-etalab.json" > "$PWD/osm_output/bornes-irve-filetered_latest.osm"
|
|
||||||
|
|
||||||
# convert existing data
|
|
||||||
geojson2osm "$PWD/data_other/irve_osm_latest.geojson" > "$PWD/osm_output/osm-existing-bornes-irve.osm"
|
|
||||||
|
|
||||||
|
|
||||||
echo " - mapping des analyses Osmose sur l'item 8411 (charging_station)"
|
echo " - mapping des analyses Osmose sur l'item 8411 (charging_station)"
|
||||||
ts-node convert_to_osm_tags.ts --osmose=true --source="etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" --jardinage --output-file="irve-latest-osmose"
|
ts-node convert_to_osm_tags.ts --osmose=true --source="etalab_data/irve_bornes_recharge/osmose-item-irve-8411-intégrables.json" --output-file="irve-latest-osmose.geojson"
|
||||||
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" --output-file="_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"
|
echo "fichier généré: $PWD/output/converted__irve-latest-etalab.json"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user