WARNINGGTFS Schedule notice

The stop order disagrees with the route shape

stops_match_shape_out_of_order
Severity
WARNING
Files to check
3
Report fields
11
Documentation
Curated

Diagnosis

What this notice means

Stops appear in one order in stop_times.txt but match the shape in another order.

Operational effect

Why it matters

Map and journey information may follow the wrong direction or wrong pass through a loop.

Scope

Files to check and report fields

Report fieldTypeMeaning
match1array<number, 2>Latitude and longitude pair of the first matching location.
match2array<number, 2>Latitude and longitude pair of the second matching location.
shapeIdstringThe id of the shape that is referred to.
stopId1stringThe id of the first stop that is referred to.
stopId2stringThe id of the second stop that is referred to.
stopName1stringThe name of the first stop that is referred to.
stopName2stringThe name of the second stop that is referred to.
stopTimeCsvRowNumber1integerThe row number of the first faulty record from `stop_times.txt`.
stopTimeCsvRowNumber2integerThe row number of the second faulty record from `stop_times.txt`.
tripCsvRowNumberintegerThe row number of the faulty record from `trips.txt`.
tripIdstringThe id of the trip that is referred to.

Repair

How to fix it

  1. 1

    Compare the two reported stops, trip stop_sequence, shape direction, and any distance values.

  2. 2

    Correct the wrong stop order or shape assignment. For loops, use cumulative distances to distinguish repeated visits without reordering a correct timetable.

  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