ERRORGTFS Schedule notice

A transfer's trip belongs to a different route

transfer_with_invalid_trip_and_route
Severity
ERROR
Files to check
1
Report fields
6
Documentation
Curated

Diagnosis

What this notice means

transfer_with_invalid_trip_and_route is an error in a GTFS Schedule validation report: a transfer's trip belongs to a different route. Start with transfers.txt.

A trip and route named on the same side of a transfer disagree with trips.route_id.

Operational effect

Why it matters

The transfer rule's conditions do not describe the intended journey consistently.

Scope

Files to check and report fields

Report fieldTypeMeaning
csvRowNumberintegerThe row number from transfers.txt for the faulty entry.
expectedRouteIdstringThe expected route id from trips.txt.
routeFieldNamestringThe name of the route id field (e.g. from_route_id) referencing the route.
routeIdstringThe referenced route id.
tripFieldNamestringThe name of the trip id field (e.g. from_trip_id) referencing a trip.
tripIdstringThe referenced trip id.

Repair

How to fix it

  1. 1

    Compare the reported tripId, routeId, and expectedRouteId in transfers.txt and trips.txt.

  2. 2

    Correct the mistaken trip or route reference. Change the trip's route only if that assignment itself is wrong.

  3. 3
    Check the result

    After a repair, rebuild the archive and validate it again. Confirm that the affected records are correct and that no new related notices appeared. A reviewed warning or informational notice may remain when it describes intentional, supported data.

Re-check your feed in the browserFree, no upload for a file you pick.

Sources

References