WARNINGGTFS Schedule notice

The stop distance exceeds the shape despite nearby endpoints

trip_distance_exceeds_shape_distance_below_threshold
Severity
WARNING
Files to check
3
Report fields
5
Documentation
Curated

Diagnosis

What this notice means

trip_distance_exceeds_shape_distance_below_threshold is a warning in a GTFS Schedule validation report: the stop distance exceeds the shape despite nearby endpoints. Check shapes.txt, stop_times.txt and trips.txt.

The final stop's cumulative distance exceeds the shape's maximum, but the endpoints are within the implementation's 11.1 m tolerance.

Operational effect

Why it matters

Rounding or inconsistent distance calculations may prevent reliable stop placement.

Scope

Files to check and report fields

Report fieldTypeMeaning
geoDistanceToShapenumberThe distance in meters between the shape and the stop.
maxShapeDistanceTravelednumberThe faulty record's shape max distance traveled.
maxTripDistanceTravelednumberThe faulty record's trip max distance traveled.
shapeIdstringThe faulty record's shape id.
tripIdstringThe faulty record's trip id.

Repair

How to fix it

  1. 1

    Compare the maximum distance values, units, and endpoint coordinates in the reported trip and shape.

  2. 2

    Recalculate with a shared distance origin and sufficient precision. Preserve the real geometry rather than shifting coordinates to match a rounded number.

  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