logo separator

[mkgmap-dev] crash. Too many tiles?

From Valentijn Sessink valentyn at blub.net on Sat Jan 29 11:35:18 GMT 2011

Hi list,

This should have been a bit of an experimental map, with as much tiles
as possible, by having splitter do --max-nodes=150000

In the end, however, I don't get a map at all:

java -enableassertions -Xmx1700m -jar ../mkgmap/dist/mkgmap.jar
--make-opposite-cycleways --mapname=31000068 --latin1
--remove-short-arcs=2.8 --reduce-point-density=5.4 --lower-case --route
--preserve-element-order --max-jobs --location-autofill=1
--link-pois-to-ways --description=Nederland --style=1430
--family-name="Openstreetmap 29 jan 11" --series-name=OSM-Valentijn
--gmapsupp --tdbfile --net -c template.args
Exception in thread "main" java.lang.IllegalArgumentException
        at java.nio.ByteBuffer.allocate(ByteBuffer.java:311)
        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)

This is in the Netherlands, so nodes all over the place, and in fact,
I'm getting lots and lots of "Area (51.8994140625,6.6357421875) to
(52.0751953125,6.8994140625) contains 209.578 nodes but can't be split
further" messages. The resulting cut has 265 tiles.

A few weeks ago, I remember having made such a map - but that could just
be because there were a bit fewer nodes somewhere and the number of
tiles was below 256 - could just be, I don't know.

(The reason for this many tiles was the idea that a Nüvi might get
better bike performance on long distances if the number of data to
unpack (i.e. individual tiles) would be smaller - because of the smaller
tiles. Might be just a stupid idea, I don't know, I was going to check
but we might never know now... ;)

So I'm just passing this on, for the sake of it, don't look too long at
it because it's probably not worth it; but if there's an easy fix, it is
welcome ;-)

Best regards,

Valentijn



More information about the mkgmap-dev mailing list