[OSRM-talk] adding way id and direction to output

Jens Thiele karme at karme.de
Wed May 8 10:06:38 UTC 2013


Emil Tin <emil at tin.dk> writes:

> Sendt fra min iPhone

[...]

>
> Ok. Yes i think it could be removed. Both speed and mode could be used
> instead to indicate which directions are traversible.

i see you did that - imho nice improvement

i would like it even more if there would be only one place to look for
(as user the relation between speed and mode is not clear)
a more functional approach could really help here

> It would be nice if you could use way.speed to set both directions,
> and way.forward.speed / way.backward.speed to override for each
> direction. And similar for other settings.

same here plus the added complexity isn't worth it
at the moment i have a real problem with it:
for debugging purposes i want to apply the profile functions in a pure
lua context - that is i construct ways in lua

now i don't know how to reproduce that behaviour in pure lua

jens



More information about the OSRM-talk mailing list