The Lua profiles currently only handle restriction exceptions, as in
restriction=*, except=* tag combinations.

The restriction parsing in the backend happens here:
https://github.com/Project-OSRM/osrm-backend/blob/2a05b70dfcdee1bf3f1ffa4fd1a6e1b1663984fc/src/extractor/restriction_parser.cpp

Have a look at the TryParse function: this is where you want to filter for
your specific use-case.

In the long term, maybe a more elegant solution would be to put more of
this logic into the profiles..

Cheers,
Daniel J H

On Sun, Jun 26, 2016 at 8:35 PM, Nathan Wessel <nate.wes...@mail.utoronto.ca
> wrote:

> Hi all,
>
> I've just set up OSRM and am very happy with the results...except for one
> thing. It seems that someone in my city has added quite a few
> 'restriction'='no_right_turn_on_red' relations. It seems that these are
> being interpreted by OSRM as equivalent to 'restriction'='no_right_turn'
> which is the much more common tag. Obviously, that interpretation would not
> be correct and I'm seeing errors where these relations are present.
>
>
> Is there a way to completely ignore this particular turn "restriction"
> without ignoring all the others?
>
>
> Thanks,
>
> *Nate Wessel*
> Jack of all trades, master of geography
>
> 1-330-936-2849
>
> Vesalius Design <http://www.vesaliusdesign.com>
>
> _______________________________________________
> 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