From 78d3b66043d3644f19338c83175a5fafb76ae719 Mon Sep 17 00:00:00 2001 From: Ducky Date: Tue, 3 Oct 2023 02:23:55 +0100 Subject: [PATCH] osm-garmin: adjust mkgmap argument order --- osm-garmin/app/build-gmap.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/osm-garmin/app/build-gmap.sh b/osm-garmin/app/build-gmap.sh index 0cdf00c..770a010 100755 --- a/osm-garmin/app/build-gmap.sh +++ b/osm-garmin/app/build-gmap.sh @@ -9,7 +9,7 @@ cwd="$(pwd)" function build_gmap() { region="$1" - region_id="$2" + region_id="$2" # BUG: We're not actually using this anywhere! style="$3" country_abbr="$4" country_name="$5" @@ -50,15 +50,15 @@ function build_gmap() { cd "$build_dir" exec_mkgmap \ + --gmapsupp \ + --area-name="$area_name" \ + --country-abbr="$country_abbr" \ --description="$(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g" | sed -e "s/ /-/g")" \ --add-pois-to-areas \ - --bounds="$bounds_dir" \ - --country-abbr="$country_abbr" \ - --country-name="$country_name" \ - --housenumbers \ - --index \ --route \ - --gmapsupp \ + --index \ + --bounds="$bounds_dir" \ + --housenumbers \ $tiles_dir/$region_shortname/6324*.osm.pbf \ "$styles_dir/$style.TYP"