WARNINGGTFS Schedule notice

A shape repeats the same point and distance

equal_shape_distance_same_coordinates
Severity
WARNING
Files to check
1
Report fields
7
Documentation
Curated

Diagnosis

What this notice means

equal_shape_distance_same_coordinates is a warning in a GTFS Schedule validation report: a shape repeats the same point and distance. Start with shapes.txt.

Consecutive rows of one shape have identical coordinates and shape_dist_traveled values.

Operational effect

Why it matters

The repeated point adds no travel information and may complicate shape processing.

Scope

Files to check and report fields

Report fieldTypeMeaning
csvRowNumberintegerThe row number from shapes.txt.
prevCsvRowNumberintegerThe row number from shapes.txt of the previous shape point.
prevShapeDistTravelednumberActual distance traveled along the shape from the first shape point to the previous shape point.
prevShapePtSequenceintegerThe previous record's shapes.shape_pt_sequence.
shapeDistTravelednumberActual distance traveled along the shape from the first shape point to the faulty record.
shapeIdstringThe id of the faulty shape.
shapePtSequenceintegerThe faulty record's shapes.shape_pt_sequence.

Repair

How to fix it

  1. 1

    Compare the reported consecutive rows in shapes.txt.

  2. 2

    Remove an accidental repeated point and preserve the remaining order. Do not remove later visits to the same place on a real loop.

  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