On 25.07.2010 23:25, Steve Ratcliffe wrote:
> On 25/07/10 20:41, Felix Hartmann wrote:
>>     okay, creating the overview map from existing .img does not seem to
>> work. Or I am missing something.
> Not sure, it works just like before, except that there is more in the
> overview map.  If there is only one file on the command line you need
> --tdbfile to generate the overview map, but that has always been the case.
>
> ..Steve
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Ups, sorry checked out a wrong branch by mistake. This was the 
commandline (against 5 tiles in .img format):
java -ea -jar mkgmap.jar --index --location-autofill=1 
--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

However now I get the following:
D:\Garmin\0mtb\mtbswitzerland>start /low /b /wait java -ea -jar  
-Xmx1300M mkgmap.jar --index --location-autofill=1 
--description=overview_ch_26.07.2010 --country-abbr=ch 
--country-name=switzerland --mapname=63270000 --family-id=6327 
--product-id=1 --series-name=overview_ch_26.07.20
10 --family-name=ovmap_ch_26.07.2010 --overview-mapname=mapset 
--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)
         at 
uk.me.parabola.imgfmt.app.trergn.RGNFileReader.readBitStream(RGNFileReader.java:306)
         at 
uk.me.parabola.imgfmt.app.trergn.RGNFileReader.readLineCommon(RGNFileReader.java:229)
         at 
uk.me.parabola.imgfmt.app.trergn.RGNFileReader.linesForSubdiv(RGNFileReader.java:158)
         at 
uk.me.parabola.imgfmt.app.map.MapReader.linesForLevel(MapReader.java:128)
         at 
uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java:206)
         at 
uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:115)
         at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:384)
         at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:124)
         at uk.me.parabola.mkgmap.main.Main.main(Main.java:124)

(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.
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to