[OSRM-talk] How to disable all ferry routes?

Peter Becker floyd.net at gmail.com
Wed Nov 11 16:27:51 UTC 2015


Thank you this works

2015-11-11 16:23 GMT+01:00 Daniel Hofmann <hofmann at mapbox.com>:
> If you take a look at the car profile, you will see a ferry_mode variable,
> that sets the travel mode:
>
> https://github.com/Project-OSRM/osrm-backend/blob/8f6fc0146ba76d34d20c5b7a87b75249bbb12b82/profiles/car.lua#L151
>
> If you set this to 0 (i.e. 'inaccessible") as defined here:
>
> https://github.com/Project-OSRM/osrm-backend/blob/8f6fc0146ba76d34d20c5b7a87b75249bbb12b82/data_structures/travel_mode.hpp#L34-L35
>
> then the extractor discards ferry routes because you marked them
> inaccessible.
>
> On Wed, Nov 11, 2015 at 9:03 AM, Peter Becker <floyd.net at gmail.com> wrote:
>>
>> Hello, i dont want any ferries in my routes. Is this possible?
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>
>
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>



More information about the OSRM-talk mailing list