<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 all,<br><br>I am not sure how I should interpret a restriction relation with <br>restriction=only_* and a via way.&nbsp; AFAIK the Garmin format<br>doesn't have such kind of restriction, so we have to translate it <br>into one or more no_* restrictions for the other possible ways.<br>This was rather easy for restrictions with a via node, but how <br>should I do it for via ways?<br>Examples:<br><a href="http://www.openstreetmap.org/relation/67571" target="_blank">http://www.openstreetmap.org/relation/67571</a> <br><a href="http://www.openstreetmap.org/relation/1745548" target="_blank">http://www.openstreetmap.org/relation/1745548</a><br><br>I assume I have to create a restriction that contains the node on the&nbsp; from way, the two nodes <br>on the via way and finally any node that can be reached from the 2nd via node <br>which doesn't lie on the to road.<br>OK?<br><br>I probably can code support for multiple via ways as Garmin seems to support that as well,<br>but only if I find that in the OSM data.<br><br>@Steve: Did you see anything in your original maps which might <br>also be a only_* restriction?<br><br>Gerd<br><br><div><hr id="stopSpelling">From: gpetermann_muenchen@hotmail.com<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Wed, 19 Mar 2014 17:32:47 +0100<br>Subject: Re: [mkgmap-dev] Turn restrictions with role=via ways<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hi Andrzej,<br><br>thanks, that will help me.<br><br>Gerd<br><br><div>Date: Wed, 19 Mar 2014 17:20:23 +0100<br>From: popej@poczta.onet.pl<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: Re: [mkgmap-dev] Turn restrictions with role=via ways<br><br><pre>Hi Gerd,<br> <br> &gt; Does anybody have a valid mp file that contains 4 node restrictions<br> <br>here is attached a small sample with a restriction, this example comes <br>from <a href="http://ump.waw.pl/en/index.html" target="_blank">http://ump.waw.pl/en/index.html</a><br> <br>If you'd like to test a real piece of mp source, I have uploaded full <br>region form UMP, it include img compiled by cgpsmapper:<br><a href="http://files.mkgmap.org.uk/download/185/UMP-PL-Warszawa.7z" target="_blank">http://files.mkgmap.org.uk/download/185/UMP-PL-Warszawa.7z</a><br> <br>-- <br>Best regards,<br>Andrzej<br></pre><br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>