<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 12, 2017 at 12:57 AM, Marc Gemis <span dir="ltr"><<a href="mailto:marc.gemis@gmail.com" target="_blank">marc.gemis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So would a stop sign / give way sign /traffic signal then be mapped as<br>
<br>
stop_position: node where on the street does one have to stop/give<br>
way/wait for traffic signal<br></blockquote><div><br></div><div>My thinking on this is <font face="monospace, monospace">stop_position</font> isn't necessary as, unlike public transportation, the distinction from the conflict point itself (the <font face="monospace, monospace">intersection</font> node(s)) isn't significant enough to bother.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
sign : node (optional) the exact location of the sign<br></blockquote><div><br></div><div>I'd go with <font face="monospace, monospace">device</font> instead, as this could potentially be a traffic signal. Or on many intersections where a high traffic expressway crosses a minor road, it could be multiple devices: Traffic signals that is perpetually flashing red for the minor way and flashing yellow for the trunk, in addition to stop signs facing the minor directions. This comes up a lot, for example, on US 26 between Gresham and Government Camp, US 30 between Portland and Warrenton, and pretty much any 70 MPH surface expressway in Oklahoma.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
from: the way one is following to which the action has to be applied<br>
(is this needed ?)<br></blockquote><div><br></div><div>Yes, but optional. There could be multiple <font face="monospace, monospace">from</font> ways. For example, a four way intersection for which there is a three-way stop, and one of those directions may turn right without stopping. Or a French example, a traffic signal that has a "<a href="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Panneau_tourne_%C3%A0_droite.jpg/800px-Panneau_tourne_%C3%A0_droite.jpg">bicycles yield when turning right</a>" sign.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
intersection: the node of the intersection for which the sign/signal holds<br></blockquote><div><br></div><div> Yes.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
to: the collection of ways one can travel to after stopping/giving<br>
way/waiting for traffic signal. This would include the from way so<br>
u-turns have to obey the sign/signal as well.<br></blockquote><div><br></div><div>Yes. At a minimum, a <font face="monospace, monospace">stop</font>, <font face="monospace, monospace">give_way</font>, <font face="monospace, monospace">traffic_signals</font> or <font face="monospace, monospace">traffic_calming</font> relation would have 1 <font face="monospace, monospace">from</font>, 1 <font face="monospace, monospace">intersection</font> and 1 <font face="monospace, monospace">to</font>.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
is this how you see the relation ? Could it be simplified for the most<br>
common case that the sign/traffic signal applies to all directions one<br>
can travel ?<br></blockquote><div><br></div><div>Yes. A situation like an <a href="https://en.wikipedia.org/wiki/Ramp_meter">onramp meter</a>, onramp or similar yield sign, or all-way stop where all possible movements for which the control or calming applies is a single node, and all movements across that node are affected by the calming or control, could still be mapped as just a simple node with the current schema.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
what in case there is a turn restriction at the intersection ? Does<br>
the to-collection of the stop sign also have to include prohibited<br>
turns ?<br></blockquote><div><br></div><div>No, you would use the existing turn restriction relation schema for turn restrictions. </div></div></div></div>