<div dir="ltr">The case was that many of those roads are created by continue. If the main road is merged but the direction dependant road not - then at lower resolutions the DP filter will create a mess. This is only relevant for 21 or lower I feel. 22-24 it's all right. Most overlays will be right in that resolution. Even though I have loads of those overlays, luckily those that are direction dependent are only in resolution 24 and 23. Some people may have overlays at lower resolution however.<div><br></div><div>All lines created with continue at resolution lower 23 are problematic concerning this matter. And because I have lots of overview - E.g. oneway arrows, oneway streets are loads, there is quite a difference in map size regarding oneway roads being merged from resolution 23 onwards or not. I think it makes up for around 1.5% map size. The 1.5% is not the problem, but that primary roads, highways and so on are usually mapped with two lines, and each one has oneway attached. Then quite a bit of the optimization is lost if those roads are not merged. As for me highways are not routable, I just delete the oneway in style before processing... Could skip that if non routable lines do not care for oneway. Same for railways (and railways as well are displayed to quite a low resolution. Fixed by deleting oneway for railway=* & highway!=* </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 17 May 2021 at 18:39, 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 Felix,<br>
<br>
why don't make it simple?<br>
<br>
Routable roads with oneway=-1 have to be reversed.<br>
Non-routable lines with oneway=-1 have to be reversed if has-direction <br>
is present.<br>
If has-direction is present, road is not reversible for merging at all <br>
layers.<br>
<br>
I don't understand your suggestion for non-reversible road limited to <br>
some resolutions. I can't imagine what is the use of it, but maybe you <br>
have some example. Anyway, I see it like that:<br>
- there are rare cases for it if any,<br>
- even if the line remains non-reversible at all levels, there is not <br>
much difference for a whole map,<br>
- if you really need that kind of solution, you can create 2 different <br>
objects for different layers.<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>