mirror of
https://forge.chapril.org/tykayn/wololo
synced 2025-06-20 01:34:42 +02:00
add config maxspeed and Echirolles, up script get datasets, start conflation of geojsons
This commit is contained in:
parent
9b5baab032
commit
aa35803a0b
5 changed files with 518 additions and 82 deletions
|
@ -16,23 +16,12 @@ wget https://www.data.gouv.fr/fr/datasets/r/8d9398ae-3037-48b2-be19-412c24561fbb
|
|||
|
||||
echo "- OK IRVE"
|
||||
echo "- récupérer les données présentes dans OpenStreetMap"
|
||||
curl --header "Content-Type: plain/text" --data @content_irve_geojson.txt --trace-ascii website-data.log "https://overpass-api.de/api/interpreter" > "irve_osm_latest.geojson"
|
||||
curl --header "Content-Type: plain/text" --data @content_irve_geojson.txt --trace-ascii website-data.log "https://overpass-api.de/api/interpreter" >"irve_osm_latest.geojson"
|
||||
|
||||
echo "- récupérer les données présentes dans Osmose"
|
||||
wget "https://osmose.openstreetmap.fr/api/0.3/issues.geojson?full=true&status=open&item=8410&limit=20000" -O "osmose-item-irve-8411-intégrables.json"
|
||||
echo "- OK Osmose"
|
||||
|
||||
##################
|
||||
# moving datasets to the source folder etalab_data
|
||||
##################
|
||||
echo " - déplacement des datasets des IRVE dans le dossier etalab_data/irve_bornes_recharge"
|
||||
mv latest.json ../etalab_data/irve_bornes_recharge/
|
||||
#mv finess_idf.json ../etalab_data/finess/
|
||||
mv irve_osm_latest.geojson ../etalab_data/irve_bornes_recharge/
|
||||
mv clean_french_irve.csv ../etalab_data/irve_bornes_recharge/
|
||||
mv osmose-item-irve-8411-intégrables.json ../etalab_data/irve_bornes_recharge/
|
||||
|
||||
|
||||
##################
|
||||
# other sources of data should be placed in data_other folder
|
||||
##################
|
||||
|
@ -44,11 +33,6 @@ wget "https://data.issy.com/api/explore/v2.1/catalog/datasets/arbres-remarquable
|
|||
echo "- récupérer les données de cyclabilité de Rouen"
|
||||
wget "https://data.metropole-rouen-normandie.fr/api/explore/v2.1/catalog/datasets/liste-des-stationnements-cyclables-metropole-rouen-normandie/exports/geojson?lang=fr&timezone=Europe%2FBerlin" -O "rouen_parking_velos.json"
|
||||
|
||||
mv "issy_les_mx_arbres.json" ../data_other/arbres/issy_les_mx_arbres.json
|
||||
mv "geojson?lang=fr" ../data_other/cyclabilité/issy_les_mx_cyclabilité.json
|
||||
mv "rouen_parking_velos.json" ../data_other/cyclabilité/rouen_parking_velos.json
|
||||
|
||||
|
||||
# clean logs and finish
|
||||
rm website-data.log
|
||||
cd ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue