Diagnosis
What this notice means
A trip supplies shape_dist_traveled in stop_times.txt, but its shape lacks distances on some or all points.
Operational effect
Why it matters
Apps cannot reliably locate those stop distances on the route geometry.
Scope
Files to check and report fields
shapes.txtOpen GTFS specificationstop_times.txtOpen GTFS specificationtrips.txtOpen GTFS specification
| Report field | Type | Meaning |
|---|---|---|
shapeId | string | The shape_id referenced by the trip. |
stopTimeCsvRowNumber | integer | The row number of the first stop_times.txt record for this trip that contains a shape_dist_traveled value. Provided as a representative location; other stop times for the same trip may also carry distance values. |
tripCsvRowNumber | integer | The row number of the faulty record in trips.txt. |
tripId | string | The trip_id of the faulty trip. |
Repair
How to fix it
- 1
Find the trip's
shape_idand inspect every point inshapes.txt; the report may identify only a representative stop-time row. - 2
Populate consistent cumulative distances for all shape points using the same units and origin as the stop times. Recalculate both sides when needed.
- 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