Hi folks,
what do we think is the best practice way to tag individual stands at bus stations? (particularly as regards them appearing in bus route relations).
(My question is probably prompted by what I’m seeing in the excellent OSM-NaPTAN Compare tool by @OneLoneRanger , but I’m not just trying to please a validator or renderer, it’s more a case of making the tags work for other data consumers)
For a first example, here’s what’s mapped at the City of Newry:
- The building itself is tagged
amenity=bus_station - There is a single logical node tagged as
highway=bus_stopandpublic_transport=platform. And this has anaptan:AtcoCode=tag (a unique ID for UK public transport stops - doubtless many other countries have their own number schemes).
This particular bus station has 14 numbered ‘stands’, and these have been tagged with:
- A
public_transport=stop_positionnode, with aref=number. - An
area:highway=bus_bay, again with aref=number. - A way leading to the bus bay, tagged as
highway=buswayagain with aref=number.
Because the bus company have only issued a single NaPTAN code for the entire bus station, I have just used that on the single logical bus stop, and for all the PTv2 bus routes that go there, I simply add that general purpose bus stop to the bus route.
(The bus company timetables and route info don’t specify which stand the busses are going to use, they all just say ‘Newry Bus Station’ - so if you’re a passenger wanting to board a bus there, you just read the stand off the departure boards or listen to the announcements.)
I guess the above tagging scheme works fine, although it does seem all the tagging on the 14 individual stands doesn’t really achieve much!
Contrast this with Belfast Grand Central station (below is a screenshot from OSM-NaPTAN Compare):
This bus station has 26 numbered bus stands. The tagging deployed is essentially the same as used above for Newry (Bus station > a single logical bus stop node > then tagging for each individual stand).
However, the difference in this case is in what the bus company has done with their use of NaPTAN: here they have issued 26 unique NaPTAN ATCO codes, one for each stand. And bus services are timetabled down to individual stand level.
Hence, each public_transport=stop_position node has its own naptan:AtcoCode=tag.
Makes sense.
But here’s the thing…
The bus company vary which stands some of its bus services are notionally timetabled to use throughout the course of the day. So bus X1 might use, say, stand 12 in the mornings, and stand 14 after tea time. (And in reality, drivers tend to just pull in at whichever nearby stand happens to be free). Detailed timetable data on their API does include the stand number (equivalent to the NaPTAN ATCO code). Although many of the bus company’s printed timetables and app will just say ‘Belfast Grand Central’ and not bother specifying the stand. (Passengers in the bus station would, again, more typically read the stand number off the departure boards or hear it in announcements, and then double check what it says on the front of the bus… and then if they’re wise, triple check by asking the drive, as he’s probably parked in the wrong stand and not re-set the destination readout on the front of his bus yet
)
One problem this causes is: for PTv2 bus route tagging, there’s not really a way to capture the fact that different bus standards are used at different times of the day. If you really wanted to be pedantic about it, you could have different routes for each variation, and put them as members of the same Route Master relation. Personally I felt that would be overkill or even counterproductive. So where creating bus route relations to Belfast Grand Central, I stuck with the scheme used for Newry: I’ve used a single logical ‘Belfast Grand Central’ bus stop node in bus route relations which go there. And not bother fussing with which bus stand stopping position is used.
My misgiving with this: it means the single logical ‘Belfast Grand Central’ bus stop node isn’t tagged with any NaPTAN ATCO code. So in principle, routing apps etc which use these codes may get confused. Conversely, you have 26 bus stands which are tagged with ATCO codes, but aren’t in any bus route relations ![]()
Just to muddy waters further, here’s a 3rd variant: feast your eyes on the City of Lisburn’s bus station…
Lisburn bus station has 8 numbered stands … to which the bus company have issued, er, 7 unique NaPTAN ATCO codes. Five of which are simply named ‘Lisburn Bus Station’, and the 6th and 7th are respectively named ‘Lisburn Bus Centre Stand 5’ and ‘Lisburn Bus Centre Stand 6’ ![]()
The 7 codes have spatial coordinates that broadly mimic the layout of the, er, 8 bus stands. But the allocation of services to these codes in the timetable data does not generally correspond to stand used by that bus route (as Translink confirmed to me by email).
So, um, to pick the bones out of that mess, I have again basically used the same OSM tagging scheme as above: I’ve created a single logical bus stop node (which doesn’t have a NaPTAN ATCO code), and used that in all the PTv2 bus routes that visit Lisburn bus station.
I’ve tagged the 8 physical bus stands in the same way as for Newry, but as their correlation to the bus company’s 7 allocated NaPTAN ATCO codes is problematic, I’ve instead tagged the logical bus stop itself with anaptan:AtcoCode=that contains all 7 codes, separated by semi-colons.
So, um - sorry for the long detailed post, but… am I doing it right? Or is there a better way?
Newry’s scenario seems simplest: there’s only one ATCO code and so it of course gets used in a single logical bus stop, which in turn gets used in all the PTv2 bus route relations. And the number bus stands are essential just micro-mapping decoration.
But for Belfast - should I be trying to incorporate the uniquely numbered bus stands into the PTv2 bus route relations? (If so, what’s the tidiest way to deal with bus routes whose stand varies throughout the day?)
For Lisburn - well, why would anyone wanna go to Lisburn anyways, serves them right
But are multiple semi-colon-separated ATCO codes in a single tag valid?
(Note: I’ve but this thread in the General forum rather than country-specific - my 3 examples here are all using the UK ‘NaPTAN’ reference codes for stops, but I imagine the concept/dilemma is common to any country’s numbering schemes?)







