osm-garmin: fix build
parent
1c8e393e15
commit
ec42a5634a
|
@ -53,7 +53,7 @@ function build_gmap() {
|
||||||
|
|
||||||
[[ -n $OSMGARMIN_MAP_FAMILY_NAME ]] && family_name="$OSMGARMIN_MAP_FAMILY_NAME"
|
[[ -n $OSMGARMIN_MAP_FAMILY_NAME ]] && family_name="$OSMGARMIN_MAP_FAMILY_NAME"
|
||||||
|
|
||||||
description="$family_name: $(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g")"
|
description="$(echo "${region##*/}" | sed -e "s/-/ /g" | sed -e "s/\b\(.\)/\u\1/g" | sed -e "s/ /-/g")"
|
||||||
product_id="$region_id"
|
product_id="$region_id"
|
||||||
product_version="$version_id"
|
product_version="$version_id"
|
||||||
|
|
||||||
|
@ -63,12 +63,12 @@ function build_gmap() {
|
||||||
--bounds="$bounds_dir" \
|
--bounds="$bounds_dir" \
|
||||||
--description="$description" \
|
--description="$description" \
|
||||||
--family-name="$family_name" \
|
--family-name="$family_name" \
|
||||||
--gmapsupp \
|
|
||||||
--index \
|
|
||||||
--product-id="$product_id" \
|
--product-id="$product_id" \
|
||||||
--product-version="$product_version" \
|
--product-version="$product_version" \
|
||||||
--route \
|
|
||||||
--series-name="$family_name" \
|
--series-name="$family_name" \
|
||||||
|
--gmapsupp \
|
||||||
|
--index \
|
||||||
|
--route \
|
||||||
$tiles_dir/$region_shortname/6324*.osm.pbf \
|
$tiles_dir/$region_shortname/6324*.osm.pbf \
|
||||||
"$styles_dir/$style.TYP"
|
"$styles_dir/$style.TYP"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue