<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 WanMil,<br><br>the patch has an influence on the number of turn restrictions. <br>For a tile in northern Germany GPSMapEdit shows :<br>r2946 with --x-no-mergeroads: 264 (valid) turn restirictions, 22 invalid <br>r2946 with activated mergeroads : 264 (valid) turn restirictions, 22 invalid <br>r2946 with patch and --x-no-mergeroads: 264 (valid) turn restirictions, 22 invalid <br>r2946 with patch and activated mergeroads : <b>223</b> (valid) turn restirictions, <b>25 </b>invalid <br><br>(The invalid turn restrictions are listed in the log. Those are the ones that prohibit<br>to drive into the wrong end of a oneway road, but GPSMapEdit doesn't care when<br>the turn restriction also forbids to walk into the road)<br><br>Do you think that this could be okay?<br><br>Gerd<br><br><div>Date: Wed, 8 Jan 2014 22:55:43 +0100<br>From: wmgcnfg@web.de<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: [mkgmap-dev] [PATCH] RoadMerger reverses roads<br><br><pre>Attached patch improves the RoadMerger so that roads are reversed when <br>it is required to be merged with another road.<br> <br>A small test increased the mergerate by 2% (avg. 17% => 19% road network <br>reduction).<br> <br>Please check it. The p-road check is not yet implemented.<br>There are also some performance improvements possible which I will post <br>with the next patch version.<br>Unit tests may fail.<br> <br>WanMil<br> <br>> Hi Gerd,<br>><br>>> Hi WanMil,<br>>><br>>> two points:<br>>> 1) line 517 is obsolete:<br>>> mergePoints.add(end);<br>>> It just blows up the size of the list and processing time.<br>><br>> Yep.<br>> I've found another important thing: the road merger can merge many more<br>> ways when it reverses non oneway ways. This should be no problem so<br>> let's do it :-)<br>> I will post another patch.<br> <br></pre><br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                            </div></body>
</html>