logo separator

[mkgmap-dev] Error in generation gmapsupp map (overflow?)

From charlie at cferrero.net charlie at cferrero.net on Mon Dec 20 11:00:22 GMT 2010

Maks Vasilev (max at stranger-team.ru) wrote:

> Hi!
>
> I generate every week map from osm data in single file and elevation contour
> from 133 .osm files. Osm data increase in each time, elevation data in osm
> files is permanent. Yesterday i have error in generation gmapsupp map:
>
> --cut--
> Exception in thread "main" java.lang.IllegalArgumentException
>         at java.nio.ByteBuffer.allocate(Unknown Source)
>         at uk.me.parabola.imgfmt.sys.Directory.sync(Directory.java:176)
>         at uk.me.parabola.imgfmt.sys.ImgFS.sync(ImgFS.java:230)
>         at uk.me.parabola.imgfmt.sys.ImgFS.close(ImgFS.java:240)
>         at
> uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onFinish(GmapsuppBuilder.java:119)
>         at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:413)
>         at
> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126)
>         at uk.me.parabola.mkgmap.main.Main.main(Main.java:127)
> --cut--
>
> mkgmap commandline:
> http://code.google.com/p/velo100mapper/source/browse/trunk/makemap.elev
>
> where:
>  chepetsk.org.ru.osm - osm data (124M),
>  elev/*.osm - elevation contour in 133 osm files (1,6G)
>
> I try to delete one of any elev file - mkgmap work without error. Or  
> I use old
> osm data file (2-3 month age) with less data - mkgmap work.
>
> p.s. mkgmap: 1749, 1733, 1727.

Wild guess, but perhaps you need to split your chepetsk.org.ru.osm  
file into smaller tiles.

-- 
Charlie




More information about the mkgmap-dev mailing list