logo separator

[mkgmap-dev] gmapsupp + index and Berlin/Friedrichstr.

From Steve Ratcliffe steve at parabola.me.uk on Tue Jan 10 21:19:35 GMT 2012


> Now I started using the index on the main layer and it works great -
> as long as I don't try to combine all layers to a single gmapsupp.img,
> which I always do by calling mkgmap with all sublayer gmapsupps as
> input files:
> java -jar mkgmap/mkgmap.jar --gmapsupp --nsis
> --description="OSM-Topo-DE" --overview-mapname=topo-gesamt
> deutschland/gelaende/gmapsupp.img deutschland/landuse/gmapsupp.img
> deutschland/topo/gmapsupp.img deutschland/maxspeed/gmapsupp.img
> deutschland/isohypsen/gmapsupp.img deutschland/isohypsen2/gmapsupp.img
> deutschland/wanderwege/gmapsupp.img deutschland/lit/gmapsupp.img
> When doing so now, the resulting gmapsupp.img is lacking the complete
> main layer, but no error message is given.

Is that something that worked in earlier versions? There is nothing
that I can think of that might have altered that.

> When I add --index to the command line, I get the following error
> message immediadely:
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
>          at java.util.ArrayList.get(ArrayList.java:324)
>          at uk.me.parabola.imgfmt.app.mdr.Mdr29.preWriteImpl(Mdr29.java:62)

OK, it is a bug that an error is thrown like that, but in any case the
indexing code will not work if given gmapsupp files rather than
individual tiles. It would be possible to make it work, but it is not
a simple change.


More information about the mkgmap-dev mailing list