Re: [mkgmap-dev] crash. Too many tiles?
Hi Valentijn, Here is an easy fix: the performance gets worse the smaller the tiles get. With max-nodes=150 I am able to split the Netherlands in a way that mkgmap didnt get stuck on too many nodes, and the routing is better in comparison with more tiles and max-nodes=100 Tested it on a Dakota which routed from my home town to Oldenburg in Germany without any waypoints in between (260 km!). -- Valentijn wrote: (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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
[mkgmap-dev] crash. Too many tiles?
Hi list, This should have been a bit of an experimental map, with as much tiles as possible, by having splitter do --max-nodes=15 In the end, however, I don't get a map at all: java -enableassertions -Xmx1700m -jar ../mkgmap/dist/mkgmap.jar --make-opposite-cycleways --mapname=3168 --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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] crash. Too many tiles?
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=15 In the end, however, I don't get a map at all: java -enableassertions -Xmx1700m -jar ../mkgmap/dist/mkgmap.jar --make-opposite-cycleways --mapname=3168 --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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev