logo separator

[mkgmap-dev] State Highway 57 is broken!

From Simon Eugster livin.shadow at gmail.com on Fri Dec 11 18:55:06 GMT 2009

And as is my image I wanted to generate. I was using the ohio file from 
CloudMade, downloaded today. kentucky also.

The other files work well. Except for error messages like
SCHWERWIEGEND (LineSplitterFilter): Way (US:WA14 State Route 14, 
http://www.openstreetmap.org/browse/way/5930357) has a max dimension of 
32767 and is about to be split (routing will be broken)
or
SCHWERWIEGEND (MapSplitter): Area too small to split at 
http://www.openstreetmap.org/?lat=39.73167&lon=-74.64532&zoom=17 (reduce 
the density of points, length of lines, etc.)
-- but at least mkgmap does not crash here.

Error message below, have fun.
Simon






3       cd /data/gps/maps/osmData/ohio && java -enableassertions -Xmx1300m 
-jar /data/gps/maps/mkgmap/dist/mkgmap.jar --merge-lines --keep-going 
--remove-short-arcs --latin1 --route --make-all-cycleways 
--add-pois-to-areas --preserve-element-order --location-autofill=1 
--country-name="Ohio" --country-abbr=US-OH -n 00030000 
/data/gps/maps/osmData/ohio/00030006.osm.gz 
/data/gps/maps/osmData/ohio/00030003.osm.gz 
/data/gps/maps/osmData/ohio/00030000.osm.gz 
/data/gps/maps/osmData/ohio/00030004.osm.gz 
/data/gps/maps/osmData/ohio/00030005.osm.gz 
/data/gps/maps/osmData/ohio/00030002.osm.gz 
/data/gps/maps/osmData/ohio/00030007.osm.gz 
/data/gps/maps/osmData/ohio/00030001.osm.gz
java.lang.AssertionError: State Highway 57 (OSM id 16280643) has multiple 
nodes for point 248
         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadWithoutLoops(StyledConverter.java:1234)
         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadAfterSplittingLoops(StyledConverter.java:995)
         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoad(StyledConverter.java:923)
         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:290)
         at 
uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler.endDocument(Osm5XmlHandler.java:576)
         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:187)
         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:185)
         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)














1       cd /data/gps/maps/osmData/kentucky && java -enableassertions 
-Xmx1300m -jar /data/gps/maps/mkgmap/dist/mkgmap.jar --merge-lines 
--keep-going --remove-short-arcs --latin1 --route --make-all-cycleways 
--add-pois-to-areas --preserve-element-order --location-autofill=1 
--country-name="Kentucky" --country-abbr=US-KY -n 00010000 
/data/gps/maps/osmData/kentucky/00010006.osm.gz 
/data/gps/maps/osmData/kentucky/00010000.osm.gz 
/data/gps/maps/osmData/kentucky/00010004.osm.gz 
/data/gps/maps/osmData/kentucky/00010003.osm.gz 
/data/gps/maps/osmData/kentucky/00010001.osm.gz 
/data/gps/maps/osmData/kentucky/00010008.osm.gz 
/data/gps/maps/osmData/kentucky/00010002.osm.gz 
/data/gps/maps/osmData/kentucky/00010007.osm.gz 
/data/gps/maps/osmData/kentucky/00010005.osm.gz
java.lang.AssertionError: State Highway 57 (OSM id 16280643) has multiple 
nodes for point 248
         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadWithoutLoops(StyledConverter.java:1234) 

         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoadAfterSplittingLoops(StyledConverter.java:995) 

         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.addRoad(StyledConverter.java:923) 

         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:290) 

         at 
uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler.endDocument(Osm5XmlHandler.java:576) 

         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:187) 

         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:185) 

         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)



More information about the mkgmap-dev mailing list