Tagging S-Bahn stations with `light_rail=yes` and `train=yes`

Hi there, Guten Tag!

I was investigating a rendering issue for the OpenRailwayMap for station rendering around Berlin, considering the S-Bahn (light rail) and the normal train network.

For example Potsdam Hauptbahnhof (Node: ‪Potsdam Hauptbahnhof‬ (‪30232718‬) | OpenStreetMap and Node: ‪Potsdam Hauptbahnhof‬ (‪3421260909‬) | OpenStreetMap) has both an S-Bahn and railway station. However the S-Bahn station is both tagged with light_rail = yes and train = yes.

Other S-Bahn stations next to a train station have similar problems, for example Teltow Stadt (Node: ‪Teltow Stadt‬ (‪2514084207‬) | OpenStreetMap) and Griebnitzsee (Node: ‪Griebnitzsee‬ (‪27318370‬) | OpenStreetMap).

The result is that there will be 3 separate station nodes on the map: one for the light rail station and two for the train station, because a station is split for each type of vehicle calling on the station. And the train “part” of both stations cannot be grouped together because the railway reference is different: BPDH versus BPD. I would expect 2 stations: one for light rail only (BPDH), and one for trains only (BPD).

I was wondering why the S-Bahn station is tagged with train = yes, if no trains call on that (S-Bahn) station, and if the train part of Potsdam Hauptbahnhof is (correctly) tagged as a different station node.

Is there a mistake in my thinking, or should be train = yes be removed from Node: ‪Potsdam Hauptbahnhof‬ (‪30232718‬) | OpenStreetMap?

(Sidenote: we can change the station grouping and rendering of the OpenRailwayMap of course, but I first want to understand the station tagging a bit better.)

If you look at the changesets, the train=yes was recently added in Changeset: 167406214 | OpenStreetMap

Perhaps you could ask @donovaly there and invite them to this thread.

In principle though, it’s not wrong to tag it with train=yes, because S-Bahnen are trains too.