2
0
Fork 0

osm-garmin: refactor mkgmap arguments

This commit is contained in:
Ducky 2024-11-06 01:55:55 +00:00
parent b41e1b4dfd
commit d1ae86cbd0

View file

@ -53,19 +53,21 @@ function build_gmap() {
exec_mkgmap \ exec_mkgmap \
--gmapsupp \ --gmapsupp \
--improve-overview \
--merge-lines \
--add-pois-to-areas \
--poi-address \
--index \
--bounds="$bounds_dir" \
--product-id=$region_id \ --product-id=$region_id \
--product-version=$version_id \ --product-version=$version_id \
--area-name="$area_name" \ --area-name="$area_name" \
--country-abbr="$country_abbr" \ --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 \ --housenumbers \
--improve-overview \
--route \ --route \
--index \
--process-destination \ --process-destination \
--process-exits \ --process-exits \
--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"