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..

On Thu, Oct 6, 2016 at 1:29 AM, Daniel Hofmann <hofm...@mapbox.com> wrote:

> 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,
>  and that's exactly why priority roads / give ways / stop signs are a bit
> ugly to implement. Sorry.
>
> On Thu, Oct 6, 2016 at 12:19 AM, Spencer Gardner <spencergard...@gmail.com
> > wrote:
>
>> I started working on this in https://github.com/Project-OSR
>>> M/osrm-backend/pull/3009 but it won't be a quick change in the
>>> profiles, for sure.
>>>
>>> Cheers,
>>> Daniel J H
>>>
>>>
>> 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.
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
>>
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
>
_______________________________________________
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to