<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">From a data consumer point of view, what type of tagging would be reasonable to indicate the, for lack of a better work, direction of travel a stop, give way or traffic light has effect?<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 17, 2017, at 3:54 AM, Daniel Hofmann <<a href="mailto:hofmann@mapbox.com" class="">hofmann@mapbox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Jumping in here to give a perspective from a routing engine (OSRM, <a href="https://github.com/Project-OSRM/osrm-backend#open-source-routing-machine" class="">https://github.com/Project-OSRM/osrm-backend#open-source-routing-machine</a>). We do not handle direction tags on nodes which indicate a property for a way or a turn at an intersection. The example with stop signs and give yield signs is spot on. Even worse is the assumption that routing engines can just infer the direction by checking the distance to the nearest intersection. This is in conflict with how parsing and creating a graph works.<br class=""><br class=""></div>There is a similar problem with exit_to node tags, indicating the exit way destination - you can read about it here<br class=""><div class=""><br class="">- <a href="https://www.openstreetmap.org/user/daniel-j-h/diary/40555" class="">https://www.openstreetmap.org/user/daniel-j-h/diary/40555</a> (en)<br class="">- <a href="https://www.openstreetmap.org/user/daniel-j-h/diary/40554" class="">https://www.openstreetmap.org/user/daniel-j-h/diary/40554</a> (de)<br class=""><br class=""></div><div class="">Cheers,<br class="">Daniel J H<br class=""></div><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Mar 17, 2017 at 11:25 AM, Martin Koppenhoefer <span dir="ltr" class=""><<a target="_blank" href="mailto:dieterdreist@gmail.com" class="">dieterdreist@gmail.com</a>></span> wrote:<br class=""><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr" class=""><div class="gmail_extra"><br class=""><div class="gmail_quote"><span class="gmail-">2017-03-16 5:13 GMT+01:00 Tod Fitch <span dir="ltr" class=""><<a target="_blank" href="mailto:tod@fitchdesign.com" class="">tod@fitchdesign.com</a>></span>:<br class=""><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class="">The “direction” tag [1] has different uses that seem disjoint to me.<div class=""><ol class=""><li class="">To specify the orientation (compass point or degrees from north) of an object (adit or cave entrance, etc.). </li></ol></div></div></blockquote><div class=""><br class=""></div></span><div class="">"orientation" would have been a better descriptor IMHO, but the crowd uses this tag differently (see taginfo, also subtags like roof:orientation, ...). Direction is working for me nonetheless.<br class=""></div><div class=""><br class=""><br class=""><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">2. To specify direction (clockwise/counterclockwise) around a roundabout (not sure why this is needed as it should be apparent from local laws or specified with a “oneway=yes”).</blockquote></div><div class=""><br class=""><br class=""></div><div class="">agree with you<br class=""><br class=""><br class=""><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">3. To indicate the direction (forward/backward) a stop or yield (give way) sign has effect along a way.</blockquote></div><div class=""><br class=""><br class=""></div><div class="">broken. From time to time people are coming up with features to tag on nodes that require (or seem to require) the information of a direction. Taking the direction of a different object (e.g. here a way) doesn't seem a healthy way to represent this. Ways might get split, might get reversed, nodes might be (or become) part of several ways, etc. Either use a cardinal direction or a short way stub or a relation, etc., but not "forward" or "backward" tag values on a node, it simply doesn't make sense. Tags should refer to the object they are tagged on.<br class=""><br class=""></div><span class="gmail-"><div class=""><br class=""> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div class=""><div class=""><div class="">Oddly, that third use seems only for stop and yield signs but not for traffic signals where a “traffic_signals:direction=for<wbr class="">ward | backward” tag is to be used. However that seems to be the most used form [2]. Apparently some have figured that if we have “traffic_signals:direction” there should be “stop:direction” [3] and “give_way:direction” [4] tags.</div></div></div></blockquote><div class=""><br class=""><br class=""></div></span><div class="">similarly broken<br class=""><br class=""></div><div class=""> <br class=""></div><div class="">I would keep the variant 1 and discourage 2 and 3.<br class=""><br class=""></div><div class="">Cheers,<br class=""></div><div class="">Martin<br class=""></div></div><br clear="all" class=""><br class=""></div></div>
<br class="">______________________________<wbr class="">_________________<br class="">
Tagging mailing list<br class="">
<a href="mailto:Tagging@openstreetmap.org" class="">Tagging@openstreetmap.org</a><br class="">
<a target="_blank" rel="noreferrer" href="https://lists.openstreetmap.org/listinfo/tagging" class="">https://lists.openstreetmap.<wbr class="">org/listinfo/tagging</a><br class="">
<br class=""></blockquote></div><br class=""></div></div></div></div></div></div></div></div></div>
_______________________________________________<br class="">Tagging mailing list<br class=""><a href="mailto:Tagging@openstreetmap.org" class="">Tagging@openstreetmap.org</a><br class="">https://lists.openstreetmap.org/listinfo/tagging<br class=""></div></blockquote></div><br class=""></div></body></html>