WARNINGGTFS Schedule notice

A stop matches several parts of the route shape

stop_has_too_many_matches_for_shape
Severity
WARNING
Files to check
3
Report fields
8
Documentation
Curated

Diagnosis

What this notice means

The same stop location has many possible matches along the trip's shape.

Operational effect

Why it matters

Apps may place the stop on the wrong pass of a loop or overlapping route section.

Scope

Files to check and report fields

Report fieldTypeMeaning
matcharray<number, 2>Latitude and longitude pair of the location.
matchCountintegerThe number of matches for the stop that is referred to.
shapeIdstringThe id of the shape that is referred to.
stopIdstringThe id of the stop that is referred to.
stopNamestringThe name of the stop that is referred to.
stopTimeCsvRowNumberintegerThe row number of the 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

    Inspect the reported stop, shape, and trip direction on a map.

  2. 2

    Correct inaccurate coordinates or a wrong shape assignment. For a genuine repeated pass, supply consistent cumulative shape_dist_traveled values that identify the intended occurrence.

  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