One station, two platforms, 40 metres apart
At Boston’s South Station, the recorded positions for commuter rail tracks 1 and 7 are 40.27 metres apart. If a schematic map groups platforms by rounded coordinates, this one station appears twice.
| Track | Platform ID | Latitude | Longitude |
|---|---|---|---|
| 1 | NEC-2287-01 | 42.351083 | −71.055797 |
| 7 | NEC-2287-07 | 42.350978 | −71.055328 |
The MBTA assigns both platforms to place-sstat. The sample groups the two platform IDs under that station. Reversing the input rows gives the same result. Removing the parent references produces two groups under the five-decimal fallback.
The distance is a straight-line estimate from the published coordinates. Passenger connections and walking times require additional information. GTFS can prohibit a transfer between a specified pair in transfers.txt. MBTA station data · GTFS transfer rules
Try the station grouping
Save the Python checker and the three-row station sample in the same folder. Each platform keeps its original ID.
python3 station_groups.py stops.txt
Read the measured results. This sample was prepared on 24 November 2026 from MBTA V3 data. The full feed includes additional platforms.
Commission a route diagram
Send your stop list and the studio will make an editable SVG, a PNG preview and a checked CSV. A revision is included.
Order a custom map · $20