logo separator

[mkgmap-dev] newbie question: How to use mkgmap?

From Hadmut Danisch hadmut at danisch.de on Sat Mar 3 20:33:15 GMT 2012


this list is said to be suitable for *any* questions about mkgmap.

I'm trying to create my own img files for a garmin eTrex (instead of
downloading from the tile server). For some reason it does not work the
way I expect, and even by reading all web pages I could find about usage
of mkgmap, I did not find the problem:

  wget -O muenchen.osm
  java -jar mkgmap-r2232/mkgmap.jar muenchen.osm

produces an img-file of just 9216 bytes, there must be something wrong. And

  java -jar mkgmap-r2232/mkgmap.jar --index --gmapsupp muenchen.osm

even aborts:

SEVERE (LocationHook): muenchen.osm: Disable LocationHook because
boundary directory does not exist. Dir: bounds
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.elementData(ArrayList.java:338)
    at java.util.ArrayList.get(ArrayList.java:351)

Is there anywhere a step-by-step-introduction? I did not find any hint
about what I am doing wrong and what options are really required to
generate img files.


More information about the mkgmap-dev mailing list