[mkgmap-dev] Commit: r868: Implement routing for .osm input files - assertion at RoadIndex.java:45
From Stefan Wenk stefan.wenk at gmx.at on Thu Feb 12 18:07:23 GMT 2009
Hello Mark, thanks for your efforts and your great piece of software. I'm using r878 on the splitted tiles from Austria with osm routing and get following exception on the fifth tile: Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.net.RoadIndex.write(RoadIndex.java:45) at uk.me.parabola.imgfmt.app.net.RoadDef.writeLevelDivs(RoadDef.java:156) at uk.me.parabola.imgfmt.app.net.RoadDef.writeNet1(RoadDef.java:113) at uk.me.parabola.imgfmt.app.net.NETFile.write(NETFile.java:55) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:150) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:87) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:53) at uk.me.parabola.mkgmap.main.Main.processFilename(Main.java:150) at uk.me.parabola.mkgmap.CommandArgs$Filename.processArg(CommandArgs.java:329) at uk.me.parabola.mkgmap.CommandArgs.readArgs(CommandArgs.java:119) at uk.me.parabola.mkgmap.main.Main.main(Main.java:91) The problem occurs in the file RoadIndex.java at void write(ImgFileWriter writer) { int roadnum = linkedRoad.getNumber(); assert roadnum < 256; writer.put((byte) roadnum); char subdivnum = (char) getSubdiv().getNumber(); writer.putChar(subdivnum); } With some debug code I found out that roadnum would become 258. any ideas? thanks Stefan On Monday 09 February 2009, svn commit wrote: > Version 868 was commited by steve on 2009-02-09 22:15:14 +0000 (Mon, 09 Feb > 2009) > > Implement routing for .osm input files. > > -Mark Burton > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090212/0dba1c4e/attachment.html
- Previous message: [mkgmap-dev] Experiences with *.osm input
- Next message: [mkgmap-dev] Commit: r868: Implement routing for .osm input files - assertion at RoadIndex.java:45
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list