[OSRM-talk] adding way id and direction to output
Jens Thiele
karme at karme.de
Thu Apr 25 11:32:56 UTC 2013
Hi,
i want to add way id and direction (forward/backward) to the routing
output
to add the way id a simple hack is to use the id as name in the lua
profile
adding the direction (forward/backward) on each way seems extremely hard
i tried to keep track of all swaps of source/target but miserably failed
so far
i also find it very confusing where directed edges are used and where
not
the best clues i got so far are from emil's fine document
"processing-flow" in the wiki [0] but there is reads, too:
"(It's unknown why forward and backwards settings are needed here. They're
always set to the same values.)"
any help / suggestions?
greetings
Jens
PS: i wonder wether the code couldn't be simplified a lot by using
directed edges only after the extraction step
[0] https://github.com/DennisOSRM/Project-OSRM/wiki/Processing-Flow
More information about the OSRM-talk
mailing list