logo separator

[mkgmap-dev] Trouble with merging IMG files (for Garmin)

From Carlos Dávila carlos at alternativaslibres.org on Thu Jul 13 16:10:42 BST 2023

Try this:

java -jar mkgmap.jar --gmapsupp otm-hungary.img otm-slovenia.img

El 13/7/23 a las 16:35, Tamas Gal escribió:
> Hi all,
>
> maybe I got that wrong but I thought I can merge multiple IMG files into a single one with Mkgmap. My problem is that I need a bunch of maps and my Garmin 64s only shows 12 in the map selection. A simple solution to this limitation is merging maps ;)
>
> Anyways, I gave Mkgmap a try but I get an error which I don't know how to interpret, since it's missing the input files but they are definitely in the folder. Do I maybe need the original OSM files as input files? In that case, the error message is probably wrong.
>
> Here is an example where I try to merge the Hungarian and German map into a single IMG:
>
>tamasgal at silentbox:~/opt/mkgmap-r4909
> ░ 16:29:24 > ls -alh *.img
> -rw-r--r--@ 1 tamasgal  staff   126M Jul 13 16:24 otm-germany-contours.img
> -rw-r--r--@ 1 tamasgal  staff    43M Jul 13 16:28 otm-hungary-contours.img
> -rw-r--r--@ 1 tamasgal  staff   346M Jul 13 16:28 otm-hungary.img
> -rw-r--r--@ 1 tamasgal  staff   246M Jul 13 16:29 otm-slovenia.img
>
>tamasgal at silentbox:~/opt/mkgmap-r4909
> ░ 16:29:32 > java -jar mkgmap.jar --input-file otm-hungary.img --input-file otm-slovenia.img --gmapsupp
> Mkgmap version 4909
> Time started: Thu Jul 13 16:29:45 CEST 2023
> SEVERE (Main): : input file '' doesn't exist
> WARNING (global): Setting max-jobs to 1
> SEVERE (Main): : input file '' doesn't exist
> Number of MapFailedExceptions: 0
> WARNING (global): To reduce the run time, consider increasing the amnount of memory available for use by mkgmap by using the Java -Xmx flag to set the memory to more than 32800 MB, providing this is less than the amount of physical memory installed.
> SEVERE (global): Exiting - if you want to carry on regardless, use the --keep-going option
> Number of ExitExceptions: 1
> Time finished: Thu Jul 13 16:29:45 CEST 2023
> Total time taken: 182 ms
>
> Any ideas?
>
> Thanks in advance,
> Tom
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



More information about the mkgmap-dev mailing list