ERRORGTFS Schedule notice

Different shape points have the same distance

equal_shape_distance_diff_coordinates
Severity
ERROR
Files to check
1
Report fields
8
Documentation
Curated

Diagnosis

What this notice means

equal_shape_distance_diff_coordinates is an error in a GTFS Schedule validation report: different shape points have the same distance. Start with shapes.txt.

Two consecutive shape points have equal cumulative distances even though their coordinates are separated beyond the rule's tolerance.

Operational effect

Why it matters

The distance values do not describe the geometry, so stop-to-shape matching may be wrong.

Scope

Files to check and report fields

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

Repair

How to fix it

  1. 1

    Compare the reported points in shapes.txt, ordered by shape_pt_sequence.

  2. 2

    Correct an erroneous coordinate or recompute cumulative distances with adequate precision. Do not move a correct point merely to match a wrong distance.

  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