logo separator

[mkgmap-dev] Tile with very few nodes fail to compile

From Andre Hinrichs andre.hinrichs at gmx.de on Sat Nov 7 14:25:56 GMT 2009

Hi List!

Since yesterday a tile of europe fails to compile and mkgmap crashes
with an exception. I would have to reduce max-nodes to 32000 to get this
area compiled. Problem is that I do not want to compile complete europe
with that low value of max-nodes. Here is the areas.list file which
contains this tile already reduced to a size where it nearly crashes:

> # List of areas
> # Generated Sat Nov 07 09:08:24 CET 2009
> #
> 77777777: 2516992,641024 to 2582528,690176
> #       : 54.008789,13.754883 to 55.415039,14.809570

And mkgmap crashes with the following exception:

> java.lang.AssertionError
> 	at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadWithoutLoops(StyledConverter.java:1078)
> 	at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadAfterSplittingLoops(StyledConverter.java:951)
> 	at uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoad(StyledConverter.java:879)
> 	at uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:273)
> 	at uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler.endDocument(Osm5XmlHandler.java:558)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:737)
> 	at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.endDocument(XIncludeHandler.java:1119)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:515)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> 	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> 	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
> 	at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
> 	at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:80)
> 	at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:148)
> 	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
> 	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:190)
> 	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:188)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)

Number of nodes in the created tile is 50935.

mkgmap version is 1355.

Why are so small tiles crashing?


Regards
Andre





More information about the mkgmap-dev mailing list