<div dir="ltr">okay thanks I understand it now with the more detailed description. Strangely making sure direction is set to no following the section that should not be reversed led to an increase and not a decrease in file size - but that change was minimal.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 15 May 2021 at 17:55, Andrzej Popowski <<a href="mailto:popej@poczta.onet.pl">popej@poczta.onet.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Gerd,<br>
<br>
I understand, that mkgmap:has-direction=no takes priority over list and <br>
that oneway is independent of has-direction.<br>
<br>
> Next RoadMerger merges roads. It will not reverse roads with oneway<br>
> flag true or direction flag true and it will not merge roads which<br>
> have different oneway or direction flags. If it does that<br>
<br>
Looks OK. I think that lines with and without direction flag could be <br>
merged, but this probably would be a rather rare case if not error in style.<br>
<br>
> Each line and road is converted to a MapLine or MapRoad object. Both<br>
> have a dir-flag, MapRoad also has a pointer to further data for NOD<br>
> which also contains the oneway flag. The dir-flag is set if the<br>
> ConvertedWay says it is a oneway or has direction (or both).<br>
<br>
I guess, that oneway flag in NOD is only set because of oneway <br>
description in data. I think has-direction value shouldn't influence <br>
routing.<br>
<br>
-- <br>
Best regards,<br>
Andrzej<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div><br></div></div></div></div></div></div>