logo separator

[mkgmap-dev] tag 'oneway=-1'

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Sep 27 10:00:34 BST 2019

Hi all,

I thought again about my answer, it was probably too simple.
If you want to detect ways that have a "normal" oneway tag you need something like
(oneway=yes | oneway=1 | oneway=-1 | oneway=reverse) {...}

I focused on the problem regarding reversed oneway roads where the style rules might add overlay ways showing e.g. the oneway direction or a cycleway next to the road. There is no need to have two different types for oneway=yes and oneway=-1  (or there alternative forms) since mkgmap reverses the direction of the
ways with oneway=-1 or oneway=reverse.

I hope this helps?

Gerd




________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
Gesendet: Mittwoch, 25. September 2019 22:24
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] tag 'oneway=-1'

Hi Thomas,

there should be no need to handle this in the style rules, the tag is handled by java code.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <thomasmorgenstern at web.de>
Gesendet: Mittwoch, 25. September 2019 22:21
An: Development list for mkgmap
Betreff: [mkgmap-dev] tag 'oneway=-1'

Hi, i found some highways tagged with 'oneway=-1'. It means, the highway is accessible in the wrong direction. Question 1: does  the default style change that ? I found no string in the style including oneway=-1 . Question 2: or do  mkgmap  change the direction automatically without any needs in the style ? If not, how can we add that in a style  rule ?

Thomas
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list