[OSRM-talk] OSRM 5.11 Profile
Daniel Patterson
daniel at mapbox.com
Thu Aug 31 15:42:39 UTC 2017
Hi Frank,
That's the only thing you need to change in the car profile - it triggers
setting the `rate` to 1, which means routing becomes distance based.
I believe the same applies to the foot profile, they share much of the
same Lua code.
daniel
On Thu, Aug 31, 2017 at 8:34 AM, Frank Durstewitz <info at thannworker.de>
wrote:
> Hello list,
>
> I want to know what to change in car/foot profile to get shortest route,
> not fastest.
>
>
> From
>
> https://github.com/Project-OSRM/osrm-backend/blob/bc8617a9f4
> 4dd194467bd924fbfbaa9840f462a9/docs/profiles.md#understandin
> g-speed-weight-and-rate
>
> i understand i have to change properties.weight_name from 'routability' to
> 'distance' in car.lua and foot.lua (for OSRM 5.11).
>
> Is this the only required change? If not, what else i have to change?
>
> Kindly regards,
>
> Frank
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20170831/f4bac1a2/attachment.html>
More information about the OSRM-talk
mailing list