Or could I also get the disabled 4710 behaviour by simply adding a catchall as first line. e.g. highway=* | railway=* | oneway=* | waterway=* . {set mkgmap:has-direction=no } and then only those lines defined before to not be reversed will not be reversed, but all lines that are connected because of continue with a line type listed in the --line-types-with-direction=XX will be reversed?
On Sat, 15 May 2021 at 10:50, Felix Hartmann <extremecar...@gmail.com> wrote: > mkgmap:has-direction=no > > Does this overwrite the line types listed for not reversing when it comes > to - don't merge lines with different has-direction flag (as r4710 in the > low-res-opt branch)? > > E.g. in my style I first work off all the line types that are listed > in --line-types-with-direction=XX > Then I put a line > highway=*, railway=*, ... {set mkgmap:has-direction=no } > > Or will this only affect lines where previously i have added > mkgmap:has-direction=yes? In that way it would be indifferent from writing > {delete mkgmap:has-direction } or am I missing something? > > On Fri, 14 May 2021 at 23:37, Gerd Petermann < > gpetermann_muenc...@hotmail.com> wrote: > >> Hi all, >> >> I have also updated the low-res-opt branch with r4716. Let me here what >> you think about the new options and the results. >> >> Gerd >> >> ________________________________________ >> Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von >> svn commit <s...@mkgmap.org.uk> >> Gesendet: Freitag, 14. Mai 2021 17:16 >> An: mkgmap-...@lists.mkgmap.org.uk; mkgmap-dev@lists.mkgmap.org.uk >> Betreff: [mkgmap-dev] Commit r4715: rework of options for reverse merge >> >> Version mkgmap-r4715 was committed by gerd on Fri, 14 May 2021 >> >> rework of options for reverse merge >> - replace option --x-force-reverse-merge by --allow-reverse-merge which >> has to be set to enable reversing for merge, add documentation >> - implement new option --line-types-with-direction to list line types >> which should not be reversed, also documented >> - special tag mkgmap:has-direction=yes/1/true can be used to to mark a >> line as not reversable >> - special tag mkgmap:has-direction=no/0/false can be used to to mark a >> line as reversable (does not overwrite oneway=yes or oneway=-1 tag, only >> the --line-types-with-direction option) >> - remove code to detect if style sets mkgmap:has-direction=true >> - remove code to propagte the mkgmap:has-direction=true tag to underlying >> roads, might not be needed >> this reverts r4713 and r4714 and partly r4703 >> - don't merge lines with different has-direction flag (as r4710 in the >> low-res-opt branch) >> >> >> http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4715 >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev@lists.mkgmap.org.uk >> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev@lists.mkgmap.org.uk >> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > > > -- > Felix Hartman - Openmtbmap.org & VeloMap.org > > -- Felix Hartman - Openmtbmap.org & VeloMap.org
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev