2
0
Fork 0

osm-garmin: adjust mkgmap argument order

main
Ducky 2023-10-03 02:23:55 +01:00
parent 015e47288a
commit 78d3b66043
1 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ cwd="$(pwd)"
function build_gmap() { function build_gmap() {
region="$1" region="$1"
region_id="$2" region_id="$2" # BUG: We're not actually using this anywhere!
style="$3" style="$3"
country_abbr="$4" country_abbr="$4"
country_name="$5" country_name="$5"
@ -50,15 +50,15 @@ function build_gmap() {
cd "$build_dir" cd "$build_dir"
exec_mkgmap \ 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")" \ --description="$(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g" | sed -e "s/ /-/g")" \
--add-pois-to-areas \ --add-pois-to-areas \
--bounds="$bounds_dir" \
--country-abbr="$country_abbr" \
--country-name="$country_name" \
--housenumbers \
--index \
--route \ --route \
--gmapsupp \ --index \
--bounds="$bounds_dir" \
--housenumbers \
$tiles_dir/$region_shortname/6324*.osm.pbf \ $tiles_dir/$region_shortname/6324*.osm.pbf \
"$styles_dir/$style.TYP" "$styles_dir/$style.TYP"