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 field | Type | Meaning |
|---|---|---|
csvRowNumber | integer | The row number from shapes.txt. |
prevCsvRowNumber | integer | The row number from shapes.txt of the previous shape point. |
prevShapeDistTraveled | number | Actual distance traveled along the shape from the first shape point to the previous shape point. |
prevShapePtSequence | integer | The previous record's shapes.shape_pt_sequence. |
shapeDistTraveled | number | Actual distance traveled along the shape from the first shape point to the faulty record. |
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 consecutive rows in
shapes.txt. - 2
Remove an accidental repeated point and preserve the remaining order. Do not remove later visits to the same place on a real loop.
- 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