Diagnosis
What this notice means
stations_too_close is a warning in a GTFS Schedule validation report: two stations are less than 2 m apart. Start with stops.txt.
Two stations on the same level have coordinates less than 2 meters apart.
Operational effect
Why it matters
Riders may see the same station twice, and transfers between the two may be handled poorly.
Scope
Files to check and report fields
| Report field | Type | Meaning |
|---|---|---|
csvRowNumber1 | integer | The row number of the first station. |
csvRowNumber2 | integer | The row number of the second station. |
stopId1 | string | The stops.stop_id of the first station. |
stopId2 | string | The stops.stop_id of the second station. |
stopLat1 | number | The stops.stop_lat of the first station. |
stopLat2 | number | The stops.stop_lat of the second station. |
stopLon1 | number | The stops.stop_lon of the first station. |
stopLon2 | number | The stops.stop_lon of the second station. |
Repair
How to fix it
- 1
Compare the two stations' names, coordinates and child locations.
- 2
Merge true duplicates and move their children and references to the remaining station, or correct the coordinates of the station that was misplaced.
- 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