WARNINGGTFS Schedule notice

Two stations are less than 2 m apart

stations_too_close
Severity
WARNING
Files to check
1
Report fields
8
Documentation
Curated

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 fieldTypeMeaning
csvRowNumber1integerThe row number of the first station.
csvRowNumber2integerThe row number of the second station.
stopId1stringThe stops.stop_id of the first station.
stopId2stringThe stops.stop_id of the second station.
stopLat1numberThe stops.stop_lat of the first station.
stopLat2numberThe stops.stop_lat of the second station.
stopLon1numberThe stops.stop_lon of the first station.
stopLon2numberThe stops.stop_lon of the second station.

Repair

How to fix it

  1. 1

    Compare the two stations' names, coordinates and child locations.

  2. 2

    Merge true duplicates and move their children and references to the remaining station, or correct the coordinates of the station that was misplaced.

  3. 3
    Check 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

References