<div dir="ltr">Come to think of it, it would probably be simpler to just make each node aware of the "highest" order of highway. Knowing that, it would work to read that info for each constituent way and determine priority based on if the way's order matches the node's order..</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 1:29 AM, Daniel Hofmann <span dir="ltr"><<a href="mailto:hofmann@mapbox.com" target="_blank">hofmann@mapbox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>This is not planned at the moment, since all the profiles know about are tags. All additional processing has to happen internally in the C++ code,<br></div> and that's exactly why priority roads / give ways / stop signs are a bit ugly to implement. Sorry.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Oct 6, 2016 at 12:19 AM, Spencer Gardner <span dir="ltr"><<a href="mailto:spencergardner@gmail.com" target="_blank">spencergardner@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I started working on this in <a href="https://github.com/Project-OSRM/osrm-backend/pull/3009" target="_blank">https://github.com/Project-OSR<wbr>M/osrm-backend/pull/3009</a> but it won't be a quick change in the profiles, for sure.<br></div><br></div>Cheers,<br></div>Daniel J H<br></div><div class="gmail_extra"><br></div></blockquote><div><br></div></span><div>Thanks. Will your changes also allow me to read the tags of other roads approaching the same node? That's the important piece for my purposes. A priority_road tag is likely to be unreliable in the US since it has no legal status, so I need to make some assumptions about priority based on the various highway tags of the incoming ways.</div></div></div></div>
<br></div></div><span class="">______________________________<wbr>_________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.or<wbr>g/listinfo/osrm-talk</a><br>
<br></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>