<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Bernd,<br><br>the error is fixed with r3229. <br>I am also checking why the restriction 2254003 is ignored.<br>The angle doesn't look that bad, but <br>mkgmap calculates an angle which seems to say right turn.<br><br>Gerd<br><br><div>> From: weigelt.bernd@web.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Date: Thu, 24 Apr 2014 21:00:47 +0200<br>> Subject: [mkgmap-dev] Problem with this restriction?<br>> <br>> <br>> Hi<br>> <br>> I got this error if i build a map around DE-Starnberg<br>> <br>> Time started: Thu Apr 24 20:50:22 CEST 2014<br>> java.lang.AssertionError<br>> at <br>> uk.me.parabola.imgfmt.app.net.RouteRestriction.<init>(RouteRestriction.java:88)<br>> at <br>> uk.me.parabola.imgfmt.app.net.RoadNetwork.addRestriction(RoadNetwork.java:536)<br>> at <br>> uk.me.parabola.mkgmap.general.MapDetails.addRestriction(MapDetails.java:131)<br>> at <br>> uk.me.parabola.mkgmap.reader.osm.RestrictionRelation.addRestriction(RestrictionRelation.java:535)<br>> at <br>> uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:495)<br>> at <br>> uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:248)<br>> at <br>> uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:53)<br>> at <br>> uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:127)<br>> at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167)<br>> at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63)<br>> at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)<br>> at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216)<br>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>> at <br>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>> at <br>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>> at java.lang.Thread.run(Thread.java:744)<br>> Time finished: Thu Apr 24 20:50:54 CEST 2014<br>> Total time taken: 31241ms<br>> <br>> <br>> last entry in mkgmap.log.0<br>> 2014/04/24 20:50:53 Warnung (RoadNetwork): <br>> /home/bernd/map_build/tiles/65020018.o5m: Turn restriction (no_u_turn) <br>> http://www.openstreetmap.org/browse/relation/2254003 (at <br>> http://www.openstreetmap.org/?mlat=48.119082&mlon=11.583557&zoom=17) the angle <br>> of the from and to way don't match the restriction<br>> <br>> http://www.openstreetmap.org/relation/2254003<br>> <br>> link to mapdata<br>> http://files.mkgmap.org.uk/download/204/65020018.o5m<br>> <br>> Bernd<br>> <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>