-
Notifications
You must be signed in to change notification settings - Fork 0
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
Speed cannot be 0 for unblocked edge #68
Comments
Another address I get this for: |
A currently failing case with this error: From: Fox Oakland Theater |
If I'm remembering correctly from the last time I looked into this, it seemed that in cases where this assertion fails, this other commented-out assertion, which was commented out as a workaround when we were first adapting GraphHopper main, would also fail. |
So this way. Would be very helpful if you could narrow down why this is happening. I'd suggest uncommenting the assertion in AbstractWeighting to try to catch the problem closer to the source |
Sure enough the AbstractWeighting assertion fails on that way:
The "wrong direction" part of the error is spurious, as the flags show the way can't be used in either direction. That way has |
Some non-results: I noticed GraphHopperGtfs#interpolateTransfers, running at graph-cache build time, instantiates a GraphExplorer with isBike false. That alone (and rebuild cache) did not fix the problem. Another bug is that GraphHopperGtfs looks for a config option called "pt.transfer_profile" which is elsewhere not used and not in our config template or my config. It seems it should be "pt.connecting_profile". That, however, also did not fix the problem. |
An |
would you not consider enumerating these way types a proper solution? have we found any other errors? we can search the logs cc @Andykmcc |
also would welcome a PR with just these changes go up so we can fix those errors while we search for a solution that prevents the transfer interpolation router from returning those ways in the first place |
I would not. When you have |
depends how the station is mapped, that may be the only way from the street to the station. or transfers in a big station such as BART to T at Powell (if Muni Metro allowed bikes). I don't really disagree here tho, we should dig through the interpolation code |
We should get you to the front door of the station building. Realistically, the quality of indoor mapping is far from adequate to do more than that (see also #126). |
that's a separate issue which requires more router changes. I'm not sure it's easy to do either, does OSM have enough info for this? we should be tolerant to weird mapping cases, we're never going to address all of them |
- The config param is called pt.connecting_profile, not pt.transfer_profile - isBike should be true in GraphExplorer constructor I was hoping these fixes would resolve the issue described in #68, but unfortunately, they don't, but this still seems to be the correct thing to do (while having no visible effect AFAIK).
- The config param is called pt.connecting_profile, not pt.transfer_profile - isBike should be true in GraphExplorer constructor I was hoping these fixes would resolve the issue described in #68, but unfortunately, they don't, but this still seems to be the correct thing to do (while having no visible effect AFAIK).
error preventing route from being returned. also in the interpolated legs like #67 , so might be fixed upstread
The text was updated successfully, but these errors were encountered: