From ec3e924a069d1ee0d9df0ae90efabcdd9fe3c93f Mon Sep 17 00:00:00 2001 From: Louis Demay Date: Sat, 5 Aug 2023 20:29:32 +1000 Subject: [PATCH] Update generate_garmin.sh to generate Basecamp files for all continents (not just Europe) --- garmin/tools/generate_garmin.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/garmin/tools/generate_garmin.sh b/garmin/tools/generate_garmin.sh index 4e583cdb..9607db8f 100755 --- a/garmin/tools/generate_garmin.sh +++ b/garmin/tools/generate_garmin.sh @@ -100,13 +100,8 @@ do REDUCED_DENSITY="" fi - # Basecamp maps for Europe - if [[ "$continent" == *"europe"* ]]; then - GMAPI="--gmapi" - else - GMAPI="" - fi - + GMAPI="--gmapi" + java -Xmx10000m -jar $MKGMAP_JAR --output-dir=$MKGMAP_OUTPUT_DIR --style-file=$MKGMAP_STYLE_FILE --description="OpenTopoMap ${countryname_short^} ${continentdate}" --area-name="OpenTopoMap ${countryname_short^} ${continentdate}" --overview-mapname="OpenTopoMap_${countryname_short^}" --family-name="OpenTopoMap ${countryname_short^} ${continentdate}" --family-id=$FAMILY_ID --series-name="OpenTopoMap ${countryname_short^} ${continentdate}" --bounds=$BOUNDS_FILE --precomp-sea=$SEA_FILE --dem=$DEM_FILE -c $MKGMAP_OPTS $REDUCED_DENSITY $GMAPI $mkgmapin $MKGMAP_TYP_FILE &> $MKGMAP_OUTPUT_DIR/mkgmap.log cd $MKGMAP_OUTPUT_DIR mv OpenTopoMap\ ${countryname^}\ ${continentdate}.gmap OpenTopoMap_${countryname^}.gmap