Hi,
I’m using OpenTripPlanner (OTP) and I’m encountering an issue where most of trips are not visible in the /plan API,, even though the trips are included in the GTFS feed.
For example, I have 11 trips for the route with route_id = R_55775 between Lahore and Mianwali, but when I search from Lahore to Mianwali, no trips are returned. However, if I search in reverse (from Mianwali to Lahore), only 1 trip is returned, even though all 11 trips have the same stops, just with different stop times.
Here’s what I’ve checked:
fare_rules.txt: The route R_55775 appears 47 times.
routes.txt: The route_id = R_55775 is correctly listed.
trips.txt: There are 11 trips with R_55775 as the route_id and different stop times for each.
stop_times.txt: The associated trip_id entries are valid, and the stop times seem correct (no arrival before departure).
calendar.txt: The service is available on the requested dates, so the trips should be eligible for the /plan request.
Despite these checks, the behavior is still inconsistent:
Searching from Lahore to Mianwali: No trips are returned even though 11 trips exist.
Searching from Mianwali to Lahore: Only 1 trip is returned, even though there are 11 trips with the same stops and different times.