[OSRM-talk] New way weight

Romain NKONGO romain.rnk49 at gmail.com
Thu Feb 19 10:21:56 UTC 2015


I suspected that. There are some files which aren't used in the process
anymore. For instance, PBFParser::parseWay isn't used.

2015-02-18 18:31 GMT+01:00 Emil Tin <emil at tin.dk>:

> Sorry, no. Note also that the description is a bit outdated.
>
> Emil
>
>
> On 18 Feb 2015, at 18:02 , Romain NKONGO <romain.rnk49 at gmail.com> wrote:
>
> Do you have another version of the explanation on the processing chain
> that the one in the Git documentation, on the page "Processus Flow"? Not
> that this one didn't help me at all, but I'd like to know which files are
> used to have a better idea where to search.
>
>
> 2015-02-18 15:43 GMT+01:00 Emil Tin <ZF0F at tmf.kk.dk>:
>
>>
>>
>> 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
>>
>> zf0f at tmf.kk.dk
>>
>> EAN
>>
>> 5798009493149
>>
>>
>>
>> *Fra:* Romain NKONGO [mailto:romain.rnk49 at gmail.com]
>> *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 <ZF0F at tmf.kk.dk>:
>>
>> 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
>>
>> zf0f at tmf.kk.dk
>>
>> EAN
>>
>> 5798009493149
>>
>>
>>
>>
>>
>>
>>
>> *Fra:* Romain NKONGO [mailto:romain.rnk49 at gmail.com]
>> *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
>> 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
>>
>>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20150219/cb3b5d54/attachment.html>


More information about the OSRM-talk mailing list