Diagnosis
What this notice means
equal_shape_distance_diff_coordinates_distance_below_threshold is a warning in a GTFS Schedule validation report: nearby shape points share a rounded distance. Start with shapes.txt.
Consecutive points have different coordinates but equal cumulative distances, with a small geographic separation.
Operational effect
Why it matters
Rounding may make it difficult to interpolate accurately between the points.
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
Check the coordinates and distance precision in the two reported
shapes.txtrows. - 2
Recalculate distances with enough decimal places, or remove a redundant point if doing so preserves the actual path.
- 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