Local_ref on bus stops in Leeds

Examples: Node: ‪City Square D‬ (‪496737815‬) | OpenStreetMap
Node: ‪Armley Ridge Road Gotts Park View‬ (‪496719089‬) | OpenStreetMap

most bus stops in Leeds seem to be tagged with a local_ref=* value which is the same or as seemingly related to naptan:AtcoCode=*. This seems to have been done during the initial Naptan import.

my understanding of local_ref=* is that it’s a short, localized reference used to determine nearby stops apart, e.g. in 'London Road (Stop D)", D would be the local ref.

Are these full AtcoCodes actually used in Leeds in the same way as “Stop D”?
If not, it may be a good idea to do a mass edit to remove local_ref where it’s the same as an existing naptan:AtcoCode tag.

Key reason to fix:
It looks ugly :sweat_smile:

The ‘B’ should be in local_ref

I agree, local_ref should the ‘D’ or ‘B’ or ‘A’ in this case.
The rest is for ref:*= like

ref:IFOPT=de:09162:1010:5:5 which has local_ref=1, 1 as shown on top of the bus stop sign

local_ref=* should be whatever short local code is on top of the post to distinguish one stop from another in a stop area. Looks like the importer messed up in your area if you have the long ATCO code [there].

ATCO codes are long sometimes long. The shorter eight digit (or sometimes eight letter) ones are probably NaPTAN codes? The short NaPTAN ones are actually exposed to bus users round here, sometimes in all-letters form based on an SMS keypad, sometimes numbers. We have enough codes on our bus stops that it was worth writing https://wiki.openstreetmap.org/wiki/Oxford/Bus_Mapping to try and explain what’s what.

A good idea is to put what’s written on the sign for users to put into websites and SMSes for real-time passenger information into ref=*, the long numeric code into naptan:AtcoCode=* and the short eightish-digits one into naptan:NaptanCode=*.

Wait, they can’t be NaPTAN short codes if they contain a zero. I wonder what’s being presented in BusTimes then?

I guess that even the codes in use for bus stops varies from region to region :crazy_face:

My recollection is that it’s not just Leeds that has “odd” data but other places in West Yorkshire too.

I had to filter some “unlikely” values out at https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L9867 to avoid bus stop display looking silly on rendered map tiles.