logo separator

[mkgmap-dev] Overview map

From Felix Hartmann extremecarver at googlemail.com on Mon Jul 26 22:16:29 BST 2010

  On 26.07.2010 23:08, Steve Ratcliffe wrote:
>> --area-name="switzerland_26.07.2010_openmtbmap.org" 6327*.img
>> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 62
>>            at uk.me.parabola.imgfmt.app.BitReader.get(BitReader.java:46)
>>            at uk.me.parabola.imgfmt.app.BitReader.sget2(BitReader.java:70)
>> (against both 1662 and 63)
>> this only happens if I use --index. If I drop --index then it works
>> (though I would like to have more levels in the overview map, and less
>> in the actual .img). So there seems to be something broken on the index
>> creation.
> OK that's a bit strange as the same code is being run against the same
> files in both overview and index creation.  I'm not immediately able
> to reproduce the problem, so may take a bit of time to track down.
> ..Steve
It's happening on Win32, with the following maps: 

The actuall command is: java -ea -jar -Xmx1300M mkgmap.jar --index 
--description=overview_ch_%date% --country-abbr=ch 
--country-name=switzerland --mapname=63270000 --family-id=6327 
--product-id=1 --series-name=overview_ch_%date% 
--family-name=ovmap_ch_%date% --overview-mapname=mapset 
--area-name="switzerland_%date%_openmtbmap.org" 6327*.img

If I add --index than it fails. Without --index it is working.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

More information about the mkgmap-dev mailing list