Okay, I found the answer on my own: if the RoutingRequest has a traverse mode TraverseMode.CAR, it is assumed that a PlainStreetEdge is traveled by car...
Am Mittwoch, 22. Mai 2013 12:52:42 UTC+2 schrieb Jens Mittag:
Dear all,
I was playing around with OTP lately and would like to hear your opinion on how to enable a "start with your own car" feature in OTP. When using 0.9.1 the returned routes are always assuming that you need to walk to the closest bike rental or public transportation station first. Is it possible to specify the initial transportation mode (without limiting the overall allowed transportation modes), and if yes where?
If this is not possible, would you agree that the best way to do that would be to add a new parameter called "initialTransportationMode" in RoutingContext, and then to use this input in State to mark the current transportation mode of the initial state as CAR?
Talking about States and StateData... can someone explain me how the current transportation mode is currently tracked in the State class? There is a class member "nonTransitMode" in StateData but the semantics are not clear to me (Javadoc is unfortunately missing in a lot of places...).
Do you see other code locations that would need to be adapted?
Thanks in advance for your help
Jens