Exception on turn restriction

Just got an exception in r935 that seems to be related to turn restrictions. However, it is not necessarily related to the "unsupported type" message as several of them have appeared previously without throwing an exception. -Wolfgang SCHWERWIEGEND (RestrictionRelation): Turn restriction 68349 has unsupported type 'only_turn_right' Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.net.RouteRestriction.writeOffset(RouteRestr iction.java:112) at uk.me.parabola.imgfmt.app.net.RouteNode.write(RouteNode.java:184) at uk.me.parabola.imgfmt.app.net.RouteCenter.write(RouteCenter.java:76) at uk.me.parabola.imgfmt.app.net.NODFile.writeNodes(NODFile.java:102) at uk.me.parabola.imgfmt.app.net.NODFile.write(NODFile.java:72) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:148) 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.jav a:329) at uk.me.parabola.mkgmap.CommandArgs.readArgs(CommandArgs.java:119) at uk.me.parabola.mkgmap.main.Main.main(Main.java:91)

Hi Wolfgang,
Just got an exception in r935 that seems to be related to turn restrictions. However, it is not necessarily related to the "unsupported type" message as several of them have appeared previously without throwing an exception.
I don't think the exception is related to the earlier message(s). Please try the attached patch and see if that fixes the exception. Cheers, Mark
participants (2)
-
Mark Burton
-
Wolfgang v. Hansen