amigocloud / modified-tripplanner

A web-based UI for delivering personalized commute information to travelers
Other
2 stars 2 forks source link

Light rail not working, train transit acting weird #109

Open marsxul opened 8 years ago

marsxul commented 8 years ago

Trips that should have an easy light rail trip are showing as such, 4+ miles of walking. Something is wrong with the intermodal connectivity.

http://vta2.amigocloud.com/planner?from=2141%20N%201st%20St%2C%20San%20Jose%2C%20CA%2095131%2C%20USA&to=Levi%27s%20Stadium%2C%204900%20Marie%20P%20DeBartolo%20Way%2C%20Santa%20Clara&modes=TRAINISH%2CWALK&start_time=8&end_time=13&days=M%E2%80%94F&date=07%3A07%3A2016&minute=56

3vivekb commented 8 years ago

http://vta2.amigocloud.com/api/otp/plan?date=2016-07-12&mode=WALK%2CBUSISH%2CTRAINISH&time=11%3A0&fromPlace=37.389268%2C-121.879746&toPlace=37.4002813%2C-121.9396906&numItineraries=3&maxWalkDistance=5000&bikeSpeed=10&walkReluctance=10&maxTransfers=5&triangleSlopeFactor=0.333&triangleSafetyFactor=0.333&triangleTimeFactor=0.334&optimize=TRIANGLE&arriveBy=false

Light rail shows up with this api call (Hostetter to River Oaks) but trip times don't seem to make much sense.

vchernetsky commented 8 years ago

I see some OTP errors. Perhaps there is an issue with VTA GTFS feed related to light rail.

16:50:10.128 WARN (AStar.java:245) Search timeout. origin=<Autumn Gold Drive_37.389268,-121.879746 lat,lng=37.38913219630366,-121.87953025706994> target=<parking aisle_37.4002813,-121.9396906 lat,lng=37.40064733200782,-121.9397547534803>
16:51:09.297 WARN (StateEditor.java:218) A state's time is being incremented by a negative amount while traversing edge PatternHop(<VTA:902:1:03_21_D lat,lng=37.368663848,-121.914883469>, <VTA:902:1:03_22_A lat,lng=37.360938192,-121.9090988>)
16:51:09.299 WARN (StateEditor.java:199) A state's weight is being incremented by a negative amount while traversing edge PatternHop(<VTA:902:1:03_21_D lat,lng=37.368663848,-121.914883469>, <VTA:902:1:03_22_A lat,lng=37.360938192,-121.9090988>)
16:51:09.299 ERROR (StateEditor.java:120) Defective traversal flagged on edge PatternHop(<VTA:902:1:03_21_D lat,lng=37.368663848,-121.914883469>, <VTA:902:1:03_22_A lat,lng=37.360938192,-121.9090988>)
Kyle-Falconer commented 8 years ago

I talked with Everley about this to see if she could spot anything amiss about this (she's the resident GTFS expert). She said she'd take a deeper look, but her initial impression was that these times (if the 1:03_21 portion of VTA:902:1:03_21_D is the time) is too close together to be present in the GTFS as stop information.

Would you be able to provide a little more information about this error and what this time and weight being "incremented by a negative amount" means?

3vivekb commented 8 years ago

Fixed with the move to OTP v20.