How to search for far piggyback stations?
Posted: Fri May 13, 2022 9:57 am
Dear Bernd,
We've a question, regarding finding combined transports, especially piggybacks.
We've implemented the xLocate.findCombinedTransportByLocation and xLocate.findObjectsByText endpoints.
For ferrys both of the procedures are giving good results, and it's quite easy to use them.
However when it comes to trains (piggybacks) then it's a different story:
1. xLocate.findCombinedTransportByLocation:
- even, when we set the 4 search params to no limit / or highest values (ENGINE_TOLERANCE, ENGINE_TARGETSIZE, ENGINE_FILTERMODE, ENGINE_SEARCHRANGE) we only get some short distance piggyback station pairs
- we think, it's because there are so much possibilities, because you can get to much more train stations, from az exact starting station. With ferrys there are much less possibilities
- so we think it's not a good approach
Maybe if we could add to the the params some text information (like a name part), about the wanted arrival station. Is that possible?
2. xLocate.findObjectsByText:
- for Ferry's it's working great
- however we couldn't find a way to use this to search for long train routes, like IT Navaro -> DE Freiburg (an example for one of our clients)
So the question is: how can we use xLocate.findObjectsByText for finding long 200 km+ train routes?
Thank you,
Peter
We've a question, regarding finding combined transports, especially piggybacks.
We've implemented the xLocate.findCombinedTransportByLocation and xLocate.findObjectsByText endpoints.
For ferrys both of the procedures are giving good results, and it's quite easy to use them.
However when it comes to trains (piggybacks) then it's a different story:
1. xLocate.findCombinedTransportByLocation:
- even, when we set the 4 search params to no limit / or highest values (ENGINE_TOLERANCE, ENGINE_TARGETSIZE, ENGINE_FILTERMODE, ENGINE_SEARCHRANGE) we only get some short distance piggyback station pairs
- we think, it's because there are so much possibilities, because you can get to much more train stations, from az exact starting station. With ferrys there are much less possibilities
- so we think it's not a good approach
Maybe if we could add to the the params some text information (like a name part), about the wanted arrival station. Is that possible?
2. xLocate.findObjectsByText:
- for Ferry's it's working great
- however we couldn't find a way to use this to search for long train routes, like IT Navaro -> DE Freiburg (an example for one of our clients)
So the question is: how can we use xLocate.findObjectsByText for finding long 200 km+ train routes?
Thank you,
Peter