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 <[email protected]> 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 > [email protected] > https://lists.openstreetmap.org/listinfo/osrm-talk >
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
