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"