-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to route in Milan (IT) to places only accessible by foot? #820
Comments
It could be that the center of the city is inside a building, which could cause this. EDIT: Seems to be the case, moving the marker to the next street fixes it. Generally we are missing the concept of "somewhere in that city" right now. @vkrause Do you have some insight to how the DB hafas handles their caps aliases like "BERLIN" by any chance from your DB API implementation work in KPublicTransport? Is it just an alias do the central station? |
We should try to route to the closest point on the street (within a certain margin), to at least avoid crashing the whole routing. Because, otherwise, I suspect a lot of queries to "city markers" might fail too :/ |
Can you report this upstream please? |
https://github.com/motis-project/motis/releases/tag/v2.0.14 might fix this |
Unlikely, we don't use osr_footpath (which is only about transfers) |
The all-caps locations do have coordinates internally ("BERLIN" e.g. is somewhere near Friedrichstraße), but the router does seem to special-case those, you definitely don't get routed to those coordinates. It's slightly more clever than making those just an alias to the central station though, e.g. when routing to "KÖLN" it gets you to either Köln Hbf or Köln Messe/Deutz. "PARIS" is another obvious example where it considers different stations. I'm not aware of a way to query all possible stops it considers to be part of that (assuming this is even implemented as a fixed set of stops). |
The behavior of all-caps stops is documented in the HAFAS Rohdaten documentation (e.g. here on page 69). In terms of GTFS it's a bit like having a second parent for all stops in a city which is the all-caps city name. Then, the router considers all those destinations as equal (simplified: wherever the router arrives first wins). |
My guess is that this is the same problem as discussed on Matrix (MOTIS room): Tobias Schwarz
Felix Gündling
|
It it impossible to route to Milan (IT), but directly to train stations there seems fine. This might be due to failing pedestrian routing? I can only reproduce in the area though 🤔
The text was updated successfully, but these errors were encountered: