-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fixing unroutable locations #49
Comments
Helsinki reported that they have a similar problem and made a PR for OTP1: opentripplanner#2676 They are planning to port it to OTP2 but cannot really say when that happens. |
The routing issues seems to be caused by three things:
|
I've pushed a branch with all the related fixes: These are the linked trip-plans using the debug client:
This trip-plan also only works in one direction -- we working on creating explicit test to see why the two tests fail in one direction only, and fixing it if the reason is clear. |
@hbruch What is the expected routing result when you want to drive to Marktplatz? As far as I can see its surrounded by either pedestrian areas or no-traffic areas. Should the result just snap to the nearest drivable road? |
Should be park and walk |
Just to clarify: in the car tile in DT you want to see the car being parked in the street and then walk? I don't think this is how it works right now. The driving leg is always the latest one. |
In the car tile, but neverthless parked in a garage and the walk. However, I wonder if there isn‘t a better parking than the one at the station, eg Bronntor? |
There is but the ParkAPI updater is not complete yet: #55 |
Sorry to belabour the point, but you want Park & Ride results in the car tile? This is currently not possible as the mode is CAR and not CAR_PARK. |
I‘m aware, that technically car_park returns park & walk and park & transit. But from a user perspective, car and walk is not park & ride. As a user, I want to see car & walk in the car tile, car & transit in the park & ride tile |
Not sure I can immediately come up with a good implementation strategy. Can you? |
For the For the OpenTripPlanner/src/main/java/org/opentripplanner/api/parameter/QualifiedModeSet.java Lines 145 to 149 in d2687d9
Would this work? |
Estimation: 0/2/1 days |
I merged #88 and this improves the situation but I also found an even harder case: https://www.openstreetmap.org/directions?engine=graphhopper_car&route=48.60748%2C8.87760%3B48.60500%2C8.87627 This doesn't work in OTP but the Graphhopper one is also incorrect as it goes through a no-thru traffic way. The gate is also ignored by OTP. |
After deployment to dev you can now route to Herrenberg Marktplatz: https://dev.stadtnavi.eu/reiseplan/Ehningen%3A%3A48.6592556%2C8.9405097/Markplatz%2C%20Marktplatz%201%2C%2071083%20Herrenberg%3A%3A48.5963346%2C8.8699234/car?time=1623166926 But as Holger already said: we actually want to suggest parking the car in a parking lot. |
I've also updated the location ins the description. The ones in Herrenberg are fixed but the Ludwigsburg one is not. |
@flaktack If you have the capacity, can you please look at the last remaining unroutable car location? If you move the destination needle on top of the station, car routing stops working. |
That seems to be caused by this elevator: https://www.openstreetmap.org/way/301633786 We're looking into what the options are. |
Well spotted! I see a couple of problems with this:
|
When matching Lines 57 to 58 in da5cc64
If the permissions for the way are I'm not sure what the best approach here would be. |
Sorry, completely missed this. What if you just set a permission to BICYCLE_AND_WALK for highway=elevator? That would be correct IMO, since this tag is intented for indoor mapping of elevators. |
On the other hand we should really remove those islands. |
We went down a few paths, but the solution will be to:
The current pruning logic doesn't removing |
Feed ID and Agency ID Improvements
In Herrenberg and the surrounding regions there are a number of locations that are unroutable for cars:
It’s not entirely clear why that is but a frequent source for unroutable locations are “islands”: small clusters of roads that OTP cannot route to or out of because they are not connected to the road network, while being reachable by bike or for pedestrians. A cause for this can be incorrectly mapped roads, gates or bollards.
In any case, whilst it isn’t clear that the above locations contain mapping errors, even if they do, it should not lead to unroutable locations but rather to sub-optimal routing results.
Related to #46
The text was updated successfully, but these errors were encountered: