<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 Marko,<br><br>I've created a new branch via_ways to support this.<br>It is nearly done, but I have to find solutions for<br>some edge cases like via ways that cross tile boundaries.<br>Also some routines like RoadMerger are not<br>yet fully tested.<br><br>The current version prints a few error messages for these<br>edge cases.<br><br>Gerd<br><br><br><div>> Date: Sun, 23 Mar 2014 17:23:41 +0200<br>> From: marko.makela@iki.fi<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Turn restrictions with role=via ways<br>> <br>> On Sun, Mar 23, 2014 at 11:16:51AM +0100, Gerd Petermann wrote:<br>> >I don't care whether the restrictions could be changed in OSM. I just <br>> >want to make sure that I translate them correctly we writing the img <br>> >file.<br>> <br>> IMO, this is on the border of "garbage in, garbage out". If there are <br>> clear semantics of the role=via ways in turn restrictions that can be <br>> easily explained to a human or a computer, sure, they can be supported. <br>> It is a matter of finding balance of effort: will the implementation <br>> effort be smaller than the effort to map it in a simpler way?<br>> <br>> It also is a matter of risk: can the more complex translation rule fail <br>> the "do what I mean" semantics that the mapper might have had in mind. <br>> In the example of the only_right_turn restriction from the parking lot <br>> driveway, we could accidentally introduce an only_straight_on <br>> restriction to the main road (prohibiting any left turns). I think that <br>> we would need some kind of regression tests for turn restrictions, or <br>> routing in general.<br>> <br>> These examples can be fixed in the map data, and I plan to do so in the <br>> next few days. What cannot be fixed in the map data are no_u_turn <br>> restrictions on dual-oneways that use role=via ways.<br>> <br>>         Marko<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>