What you call cyclability is often called impedance. Lua is the easy part. The 
hard part is making you you keep speed and impedance separate all the way 
through the processing chain, sine you still need speed to compute the travel 
time.


Med venlig hilsen

Emil Tin
IT- og Processpecialist
Trafik
_______________________________
KØBENHAVNS KOMMUNE
Teknik- og Miljøforvaltningen
Byens Anvendelse

Njalsgade 13 Vær. 1035
Postboks 380
2300 København S

Direkte

2369 5986

Mobil

2369 5986

Email

[email protected]<mailto:[email protected]>

EAN

5798009493149


Fra: Romain NKONGO [mailto:[email protected]]
Sendt: 18. februar 2015 15:35
Til: Mailing list to discuss Project OSRM
Emne: Re: [OSRM-talk] New way weight

Hello Emil,
As a matter of fact, the criterion which I'm trying to add is the cyclability, 
with an integer value from 1 to 5. With my project team, we already managed to 
include a Lua function in the bicycle profile which set this value according to 
tags like 'cycleway' and others. After that, we want to pass the value (as an 
attribute) all the way through the processing chain to the algorithm files.
I'm not sure if I'm clear, if not tell me.
Romain.

2015-02-18 15:17 GMT+01:00 Emil Tin <[email protected]<mailto:[email protected]>>:
Keeping speed and impedance separate is not an easy task.
I worked on it a good while back in this branch, but it was never complete:  
https://github.com/Project-OSRM/osrm-backend/tree/feature/lua_impedance
See also https://github.com/Project-OSRM/osrm-backend/issues/77.

Kind regards

Emil Tin
IT and Process Specialist
Traffic
_______________________________
CITY OF COPENHAGEN
Technical and Environmental Department
City in Use

Njalsgade 13 Room. 118
Postbox 380
2300 Copenhagen S

Direct

2369 5986

Mobile

2369 5986

Email

[email protected]<mailto:[email protected]>

EAN

5798009493149




Fra: Romain NKONGO 
[mailto:[email protected]<mailto:[email protected]>]
Sendt: 18. februar 2015 15:13
Til: Mailing list to discuss Project OSRM
Emne: [OSRM-talk] New way weight

Hello again everyone,
Has anyone tried to add a new weight for the OSRM ways in addition of the 
speed? I try to add a cyclability criterion for the routing calculation and 
actually I look for every OSRM files where I could this attribute along with 
the speed so it will be taken into account in a bi-objective algorithm. Is 
there an easier way?
Thanks.

_______________________________________________
OSRM-talk mailing list
[email protected]<mailto:[email protected]>
https://lists.openstreetmap.org/listinfo/osrm-talk

_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to