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 field | Type | Meaning |
|---|---|---|
actualDistanceBetweenShapePoints | number | Actual distance traveled along the shape from the first shape point to the previous shape point. |
csvRowNumber | integer | The row number from shapes.txt. |
prevCsvRowNumber | integer | The row number from shapes.txt of the previous shape point. |
prevShapeDistTraveled | number | The previous shape point's shape_dist_traveled value. |
prevShapePtSequence | integer | The previous record's shapes.shape_pt_sequence. |
shapeDistTraveled | number | The faulty record's shape_dist_traveled value. |
shapeId | string | The id of the faulty shape. |
shapePtSequence | integer | The faulty record's shapes.shape_pt_sequence. |
Repair
How to fix it
- 1
Compare the reported points in
shapes.txt, ordered byshape_pt_sequence. - 2
Correct an erroneous coordinate or recompute cumulative distances with adequate precision. Do not move a correct point merely to match a wrong distance.
- 3Check 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