From 302460052f7ac8c9e664f3f27ad723e5787e1fff Mon Sep 17 00:00:00 2001 From: DoLooP Date: Fri, 29 Mar 2019 15:00:36 +0100 Subject: [PATCH] fix dead links, fix option file name Change garmin versions Fix dead link for latest sea and bounds fix sea-latest unzip: nested sea/ folder in archive already Fix $OPTIONS opentopomap_options => mkgmap_options --- garmin/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/garmin/README.md b/garmin/README.md index 03224aad..88fb9711 100644 --- a/garmin/README.md +++ b/garmin/README.md @@ -14,8 +14,8 @@ Download [mkgmap](http://www.mkgmap.org.uk/download/mkgmap.html), [splitter](http://www.mkgmap.org.uk/download/splitter.html) & bounds ```bash -MKGMAP="mkgmap-r4136" # adjust to latest version (see www.mkgmap.org.uk) -SPLITTER="splitter-r591" +MKGMAP="mkgmap-r4248" # adjust to latest version (see www.mkgmap.org.uk) +SPLITTER="splitter-r592" mkdir tools pushd tools > /dev/null @@ -39,8 +39,8 @@ if stat --printf='' bounds/bounds_*.bnd 2> /dev/null; then else echo "downloading bounds" rm -f bounds.zip # just in case - wget "http://osm2.pleiades.uni-wuppertal.de/bounds/latest/bounds.zip" - unzip "bounds.zip" -d bounds + wget "http://osm.thkukuk.de/data/bounds-latest.zip" + unzip "bounds-latest.zip" -d bounds fi BOUNDS="$(pwd)/bounds" @@ -50,8 +50,8 @@ if stat --printf='' sea/sea_*.pbf 2> /dev/null; then else echo "downloading sea" rm -f sea.zip # just in case - wget "http://osm2.pleiades.uni-wuppertal.de/sea/latest/sea.zip" - unzip "sea.zip" -d sea + wget "http://osm.thkukuk.de/data/sea-latest.zip" + unzip "sea-latest.zip" fi SEA="$(pwd)/sea" @@ -72,7 +72,7 @@ DATA="$(pwd)/6324*.pbf" popd > /dev/null -OPTIONS="$(pwd)/opentopomap_options" +OPTIONS="$(pwd)/mkgmap_options" STYLEFILE="$(pwd)/style/opentopomap" pushd style/typ > /dev/null