From 41a32e79a992018a2e7cefd29d3d0610d12de6ea Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 29 Jan 2024 17:42:52 +0100 Subject: [PATCH] Remove elevation data again --- build-config.json | 5 ----- build-graph.sh | 15 --------------- 2 files changed, 20 deletions(-) diff --git a/build-config.json b/build-config.json index 9a075e99..fec2840c 100644 --- a/build-config.json +++ b/build-config.json @@ -19,10 +19,5 @@ "timeZone": "Europe/Rome", "osmTagMapping": "default" } - ], - "dem": [ - { - "source": "data/srtm_39_03.zip" - } ] } diff --git a/build-graph.sh b/build-graph.sh index 511a8351..f1de5822 100755 --- a/build-graph.sh +++ b/build-graph.sh @@ -9,11 +9,6 @@ NORTH_EAST_URL=https://download.geofabrik.de/europe/italy/nord-est-latest.osm.pb NORTH_EAST_PBF=data/italy-nord-est.osm.pbf SOUTH_TYROL_PBF=data/south-tyrol.osm.pbf -# elevation -SRTM_URL="http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_39_03.zip" -SRTM_ZIP=data/srtm_39_03.zip -SRTM_TIFF=data/srtm_39_03.tif - # OTP OTP_IMAGE=docker.io/opentripplanner/opentripplanner:2.5.0_2024-01-19T14-50 @@ -31,16 +26,6 @@ fi # cut out South Tyrol from the large South East Italy extract osmium extract ${NORTH_EAST_PBF} --polygon south-tyrol.geojson -o ${SOUTH_TYROL_PBF} --overwrite -# download elevation data -if [ ! -f "${SRTM_ZIP}" ]; then - wget --progress=bar:force:noscroll ${SRTM_URL} -O ${SRTM_ZIP} -fi - -unzip -o ${SRTM_ZIP} -d data -# fix srtm data with gdal -gdal_edit.py -unsetnodata ${SRTM_TIFF} - - # actually do graph build docker run \ -v .:/var/opentripplanner/:z \