[mkgmap-dev] crash. Too many tiles?From Johann Gail johann.gail at gmx.de on Sat Jan 29 11:53:37 GMT 2011
Hi Valentjin, IIRC then there are some limitiations in the format, which don't allow more than 256 tiles in one img file. There should be no exception but a clear error message, but I think it would not work anyway. Regards, Johann Valentijn Sessink schrieb: > 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 > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] crash. Too many tiles?
- Next message: [mkgmap-dev] crash. Too many tiles?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list