From 9975d0ede8872f4ceac82aa09930533cc0749673 Mon Sep 17 00:00:00 2001 From: Ducky Date: Wed, 4 Oct 2023 03:35:07 +0200 Subject: [PATCH] osm-garmin: add version to map --- osm-garmin/app/build-gmap.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/osm-garmin/app/build-gmap.sh b/osm-garmin/app/build-gmap.sh index 770a010..bc87ac7 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" # BUG: We're not actually using this anywhere! + region_id="$2" style="$3" country_abbr="$4" country_name="$5" @@ -51,6 +51,8 @@ function build_gmap() { exec_mkgmap \ --gmapsupp \ + --product-id=$region_id \ + --product-version=$version_id \ --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")" \ @@ -183,4 +185,4 @@ else fi echo "🧹 Cleaning up..." -cleanup \ No newline at end of file +cleanup