<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 Minko,<br><br>I am still not sure if we are talking about the same stuff.<br>A routable line is one that has roadspeed/class and a non-extended type. These lines are internally called roads.<br>The algo in StyledConverter collects all lines (routable and not-routable) in different lists,<br>and after removal of wrong angles and obsolete points, all non-routable lines are added before all roads.<br>The order within the two different lists is maintained.<br>So, the order is only important if you add multiple non-routable lines or multiple roads for one OSM way .<br>Felix said he adds up to 7 lines for one OSM way, so we should find out which combinations are bad.<br><br>Gerd<br><br><div>> Date: Fri, 9 May 2014 12:09:14 +0200<br>> From: ligfietser@online.nl<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Commit: r3259: remove most checks regarding routable/non-routable types.<br>> <br>> Hi Gerd<br>> <br>> <br>> > just to make sure:<br>> > your style creates two lines for one OSM way, they have different<br>> > types, but both below 0x3f,<br>> <br>> Well, it doesnt happen if 0x02 is replaced by 0x31. I think it only happens with "standard" routable line types (0x01-0x13, 0x16, 0x1a,0x1b) but i havent tested them all<br>> <br>> > and one has road speed/class , the other has not.<br>> > Which one come first?<br>> <br>> The ones with routing parameters come first. After this I handle the cycle routes with line 0x02 to make sure they are always rendered on top (on all GPS devices). I always needed to put on 0x02 routing parameters too because of this issue. I thought I might give it a try to remove them, but it seems the issue is still the case.<br>> <br>> > I think when it causes problems, we should try to find a better<br>> > solution or print a warning.<br>> <br>> A warning would be fine, in case multiple routable lines are detected.<br>> If that's too complicated, I would suggest to print the old warning only with --check-styles:<br>> "Non-routable way with routable type 0x.. starting at ... is used for a routable map. <br>> This can lead to routing errors if multiple routable lines on this way are used."<br>> <br>> <br>> <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>