Diagnosis
What this notice means
child_stop_too_far_from_parent_station is a warning in a GTFS Schedule validation report: a stop is more than 10 km from its station. Start with stops.txt.
A location whose parent_station is set lies more than 10 km from that station's coordinates.
Operational effect
Why it matters
At this distance the parent link or one of the coordinates is almost certainly wrong, and riders may be sent to the wrong place.
Scope
Files to check and report fields
| Report field | Type | Meaning |
|---|---|---|
childStopId | string | The stops.stop_id of the child stop. |
childStopLat | number | The stops.stop_lat of the child stop. |
childStopLon | number | The stops.stop_lon of the child stop. |
distance | number | The distance in meters between the child stop and its parent station. |
parentStationId | string | The stops.stop_id of the parent station. |
parentStationLat | number | The stops.stop_lat of the parent station. |
parentStationLon | number | The stops.stop_lon of the parent station. |
Repair
How to fix it
- 1
Compare the stop's
stop_latandstop_lonwith the parent station's coordinates. - 2
Fix swapped or mistyped coordinates, or correct
parent_stationso the stop hangs under the station it belongs to. - 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