Tagging at bus stations (particularly: tagging indvididual stands) - what's the best way?

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_stop and public_transport=platform. And this has a naptan: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_position node, with a ref= number.
  • An area:highway=bus_bay, again with a ref= number.
  • A way leading to the bus bay, tagged as highway=busway again with a ref= 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 :grin: )
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 :thinking:

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’ :sweat_smile:
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 :grinning_face_with_smiling_eyes: 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?)

1 Like

Were you in this post? Reddit

  • =busway line: Neither this, nor =service would be good if they aren’t physically separated
  • area:highway=bus_bay : Better, but there’s no highway=bus_bay yet. Either it needs to be discussed as an area:highway= unique feature (cf =traffic_island ), or simply amenity=parking_space + parking_space=bus etc (more attributes needed if you want to distinguish “bus stop” vs “bus stand”) should be used. ( area:highway=bus_stop might be used specifically for a marked stop box inside a physical bay, at least from its purpose I imagine)

Were you in this post?

Nope! :sweat_smile:
The thing is, if a PTv2 bus route is gonna depict the path of a bus right up to its stopping point at a bus stand, then there needs to routeable way that runs right up to that stopping point, no?

parking_space feels like the wrong tag for describing a bus stand to me. When busses go to bed at night, they park in a depot. :slight_smile: When they wait in a bus bay/bus stand in a bus station to drop off / collect passengers, that’s not ‘parking’, surely?

1 Like

Well, some long line busses sleep there as they have no depot!
Like here.

If, like in this case, you know the possible lines using the platform, you can add route_ref.

1 Like

Ah! I’d sorta forgotten about the route_ref tag.
It seems a bit redundant to me if a stop is already tagged as the member of a PTv2 route relation? (Although, in fairness, if someone is simply doing a survey and spots a bus stop, adding a route_ref to it is a lot less work than figuring out the entire accompanying PTv2 relation… some of those are monsters!)
And yes, I guess that (for the reasons I was mithering about in my original post), it’s not practical to include some bus stands (stopping locations) in a PTv2 bus route relation, then tagging them with route_ref could be a useful fall back…

1 Like

The =stop_position will stay on the road, not inside the stand. That’s the same with bus stops. It corresponds to the waypoint on the road modeled as a line.
=parking_space and parking:*= are not only used for “parking”. It includes loading/unloading, and pick-up / drop-off. The latter is basically what buses do.

Well, it was what I thought before I checked how this station was mapped after reading this thread. But so I realized that in such cases, it’s not an exact duplication of the info, as a line can use different slots depending of… well, not clear. I would have to check if the GFTS feed gives this information.

1 Like

I see - so, basically, just forget about having routeable ways leading into the individual bus stands? But I can’t see it working to have the =stop_position"stay on the road" - in the case of all these bus stations, there is no ‘road’, just an enormous big rectangular tarmac apron. Editors have not unreasonably drawn a notional ‘service road’ in an arc across it, taking an average of where busses enter and exit and move through the apron. But it would be highly artificial to put ‘stop positions’ on that service road arc, are they’d often be dozens of meters away from the actual bus stands. ?

yes, this what I have been finding in practice in Northern Ireland’s bus stations - even on the timetable data, different routes hop around to different bus stands from hour to hour - and in reality, the drivers do that to an even greater extent to what the data says.
So, in terms of mapping it and having the data available to consumers, it all seems like it it would not be very useful to try and capture this complexity.

I’m going to look at it from the point of view of the Koleje Małopolskie’s (Lesser Poland Railways’) bus services.

First of all, in my experience to date, few other countries have nationwide NaPTAN-like standards, if any at all that I know myself. In most of what I’ve personally experienced to date across Europe, stop IDs are usually assigned by each authority or operator individually, and that’s if they bother with IDs to begin with.

Koleje Małopolskie have a wide network of regional buses across the Lesser Poland voivodeship and there is a number of bus stations that they serve that I’ve edited myself as well. In a good few of those (Cracow’s main bus station, Nowy Sącz, Zakopane, Nowy Targ, Myślenice), the PDF schedules available on the website list the stand, but in their scheduling software and the resulting information system outputs (including GTFS), all of these stations are treated as one stop and one stand (much like Newry).

In a way, I already had found the status quo when adding the routes – other editors have done the work and they:
→ put an amenity=bus_station + public_transport=station somewhere centrally or in the waiting area;
→ put a stop_position + platform pair for each stand separately, adding the stand number to the local_ref and sometimes perhaps descriptively, but to the name as well in brackets.

However, as I said, bus services depart from various stand yet share the same systematic code. In Cracow’s case, the main bus station is actually bi-level, scoring some 39 stands, yet the Railways’ buses use only one ID code (656) for the entire station, regardless of the stand used (in reality only four are used anyway). More importantly, while one of the routes has exclusive, full-time use of the upper-level stand G13, the other routes use three different lower-level stands, depending on scheduling and availability. My solution has been to figure out the stand used the most on departure and use that for the route and add a note to the relation to highlight that other stands are used as per the schedule.
A similar approach is necessary in Nowy Sącz (ref=2403), where buses vary between various stands without exclusive use:

Elsewhere, in Nowy Targ (ref=2158) all services use only one stand out of 14 (curiously, platforms are not present for the reverse-out bays)…

while in Myślenice (ref=1) two stands are used out of 12, but each route is assigned one stand full-time and the two stands are exclusive to Railways buses (you’ll note it’s the two with the grey wikidata outlines):

Also in the mess is Tarnów, where the bus station does have numbered stands from its PRL-era, but they’re not mentioned in the online pdfs at all, and Olkusz which simply has a bunch of stop bays painted on the road and drivers simply take whichever is available.

Summarily – for Grand Central, I wouldn’t bother with making relations for each stand variation simply because those stands can be changed on a whim, as necessary. Instead, if the data is available, I would pick out the most common scheduled stand and build the route from and to it and otherwise make an appropriate note. If there is only one systematic ID for the entire station, then I’m not sure if I should speak up too much, simply because in none of my examples do the Railways have exclusive use of a station – at best they’re the only government-controlled operator there amidst the seventh circle of hell that is privately owned and operated Sprinters with questionable punctuality and even more doubtful reliability – so I think it’s fine to paste the ID across the stands actually used because it’s only going to be 1/14, 2/12 or 4/39 stands, and not all 14 like in Newry.

For stations that don’t have separated stands, well, we as mappers aren’t going to spend the better parts of our days surveying to establish what routes stop where in practice, so as long as there are schedules on site split per stand, I’d take the same “find the most common stand” approach for relation-building, and if not then just slap them in one place and make a note saying that Translink can’t be bothered to schedule properly. We at OSM shouldn’t be figuring stuff in place of companies that have scheduling departments paid to do so.

1 Like

The distance from the =service road line to the =bus_stop won’t be much different from a very wide road, and possibly with bus_bay= further adding ~3m. The Newry example is narrower. You have the route=bus , and =stop_area to relate them.

Try local_ref. Its correspondingly wiki page states that it is used when there are numerous platforms in a single area. Here is one example of a bus station with numerous bus stops (each with a ref and local_ref tag); here is another.

OK but how does this work for a site like Downpatrick Bus Station?

Busses don’t drive past the stands on a loop: they drive in to a rectangular apron, and do a sharp right-turn into one of the bays. And they reverse out of it to exit.
Currently this is mapped and tagged to show how the 9 stands are strung out in a line.
If it wasn’t done like this, the 9 bus stopping locations would have to collapse to a single point?

If the =service road is kept in a T-shape, you can still put a point along each spot mostly, except what’s beyond 7 or 8. In any case, you would still have the =parking_space / area:highway=bus_stop polygons.
Something I’m curious more on is when should there be multiple highway=bus_stop points, as in 2 examples from Poland. If they are strictly defined as waiting spots (thus a single one when waiting for multiple stands there) , there’s a gap for the boarding/alighting spot. On top of =platform , railway= has =platform_edge lines, =platform_marker points, and public_transport=platform_section_sign for the signs themselves. Buses could use a shared public_transport=platform_spot (renaming =platform_marker ) point together. Then you will always have a usable point feature for each stand.

I guess so, but it feels a bit arbitrary to me. Why is OK to draw an artificial abstraction of a service road in that T-shape, but deprecated to show one going into each bay? The latter follow the reality of how the buses actually move more accurately…

Something I’m curious more on is when should there be multiple highway=bus_stop points, as in 2 examples from Poland.

Yes, that’s actually the aspect of my query that I’m most interested in. In this case, the bus company has only allocated a single NaPTAN ATCO code for the entire bus station, so it is just tagged as a single logical highway=bus_stop node (with 8 stopping positions). Arguably you could instead put 8 bus stops… but what would they be tagged with? As they all have the same name and ATCO code.

The opposite situation pertains in the Belfast example.