Yes, remove / comment out the reversible entry from the avoid set here:

https://github.com/Project-OSRM/osrm-backend/blob/9a8ed30e953cd629aeb947a4bc72dfafc8cd55f9/profiles/car.lua#L116

then the way handler will not discard reversible oneways here:

https://github.com/Project-OSRM/osrm-backend/blob/9a8ed30e953cd629aeb947a4bc72dfafc8cd55f9/profiles/lib/way_handlers.lua#L536-L541

Best,
Daniel J H

On Tue, Dec 12, 2017 at 7:44 PM, Frank Durstewitz <i...@thannworker.de>
wrote:

> Hi there.
>
> Problem: OSRM throw away oneway=reversible, for example
> https://www.openstreetmap.org/way/38910459#map=17/53.58542/10.00598
>
> If you are at highway Krohnskamp nearby, which itself is a unconditional
> oneway, you're stuck.
>
> For our internal use-case we have to route over those ways, means we want
> to see OSRM those oneways not aa oneway at all, but use them for routing.
>
> I'm not sure what to change to reach the goal.
>
> Is car.lua > setup > avoid > comment out 'reversible' enough?
>
> TIA, Frank
>
> _______________________________________________
> 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