summaryrefslogtreecommitdiff
path: root/convert
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 22:32:38 +0200
committerErich Eckner <git@eckner.net>2018-05-15 22:32:38 +0200
commit80cd2dbfae6a3b9c7373e76bdd67f895d9dc4430 (patch)
tree898f0bb8bfbd70b1af0e403282d353fdae14cbaf /convert
parent00f98f5ff75dcde05b75422f45444463d18bddfb (diff)
downloadosm-to-garmin-master.tar.xz
convert: add meaningful namesHEADmaster
Diffstat (limited to 'convert')
-rwxr-xr-xconvert6
1 files changed, 5 insertions, 1 deletions
diff --git a/convert b/convert
index 6a5e39a..abd1398 100755
--- a/convert
+++ b/convert
@@ -12,6 +12,7 @@ mainUrl='https://download.geofabrik.de/europe/'
case "$1" in
'')
+ area='groszdeutschland'
countries=(
austria
germany
@@ -20,6 +21,7 @@ case "$1" in
)
;;
'benelux')
+ area='benelux'
countries=(
belgium
luxembourg
@@ -27,12 +29,14 @@ case "$1" in
)
;;
'fast')
+ area='thueringen'
mainUrl="${mainUrl}germany/"
countries=(
thueringen
)
;;
'gus')
+ area='gus'
countries=(
croatia
czech-republic
@@ -136,7 +140,7 @@ then
--index \
--gmapsupp \
--family-name="OpenStreetmap mkgmap" \
- --area-name="parts of europe" \
+ --area-name="${area}" \
--max-jobs="${numJobs}" \
--remove-ovm-work-files \
--style-file=mkgmap-style-sheets/styles \