Opened 3 years ago

Last modified 17 months ago

#19982 new enhancement

tram_crossing and tram_level_crossing

Reported by: pch14@… Owned by: team
Priority: normal Milestone:
Component: Internal preset Version:
Keywords: railway tram crossing Cc: dieterdreist


Please make JOSM recognise the values tram_crossing and tram_level_crossing for key railway. The distinction sure is worth. The keys have some non-trivial usage numbers that are expected to grow, as the iD editor will make use of them sometime in the near future. As for visual representation, I have no idea, perhaps just the same as regular railway crossings?

Attachments (2)

railway_tram_level_crossing.json (8.0 KB ) - added by skyper 3 years ago.
monthly numbers til Jun 2020
railway_tram_crossing.json (8.0 KB ) - added by skyper 3 years ago.
monthly numbers til June 2020

Download all attachments as: .zip

Change History (30)

comment:1 by skyper, 3 years ago

Where is the proposal for this new tag changing established tagging?
What is the difference to established crossing and level_crossing?
Do we need an own tag for every transport vehicle on rails, now, instead of simply looking at the crossing way and its memberships? What should be used in cases of multiple vehicle types using the same rails?

comment:2 by skyper, 3 years ago

Component: CoreInternal preset
Keywords: railway tram crossing added

comment:3 by pch14@…, 3 years ago

Hello skyper, the proposal of course is in the OSM-Wiki, There are indeed reasons to have tram_crossing tagged explicitly - examining the railway line for tram is not enough, you never know how the crossing looks like on location, most often its just rails embedded in a paved road surface, nothing like a railway crossing; Sometimes it may appear quite a lot like a real railway crossing, eg. when, as you write, tram shares way with light rail. Then I expect mappers to choose the most adequate value. One more value only adds choice.

I stumbled upon this, as I was trying to figure out, why a certain pedestrian router (for blind people), that I happen to care about, took great detours. Turned out, that, unlike JOSM, the iD editor suggests to connect all ways crossing trams, which nowadays very often do not even have a shared node, and sure some users followed the advice and ended up with a railway=crossing. I complained in their forums, and a developer there found that tram_crossing tag and in the current version of this editor it is already in use.

As the number of such nodes is expected to grow, I'd consider it appropriate, if JOSM supports the value too, i.e. not render a blue dot, perhaps even have the value in the dropdown menu with the available values of the railway key. I explicitly do not endorse to flag any trams crossing highways or footways by the validator ;)

comment:4 by skyper, 3 years ago

That is not a proposal but more or less a stub. The difference between crossing and tram_crossing is not sorted out. Unlike level_crossing, I do not see any advantage in this tag as crossing can already be all, from a crossing without any lights to almost a full crossing with barriers.

In general, if we really need a different primary tag, I'd prefer something like light_crossing or second_level_crossing or similar without a vehicle type.

How about using one or two new subtags instead of primary tags which could be added without changing the meaning of established tags and would be more precise as we could have one for the legal case and one for the architectural type of the crossing.

comment:5 by pch14@…, 3 years ago

Hello skyper, I am not into inventing anything, its just about a value, which is partly autocreated by a widely used editor in their validation stage. All it would take were two new rules in elemstyles.xml - but well, if it is so controversial, so much for that.

comment:6 by skyper, 3 years ago

Hi pch14, sorry, I never intended to get personal. Hope you did not perceive it that way.

Following your words, iD developers should know the answers to my questions as they support the tags.
They probably cannot tell you the numbers introduced (semi-)automatically. So I cannot look at the number of uses to tell if the tags are popular. How many of these tags were added with a different editor than iD?

As the tags were never proposed properly, despite the wiki pages stating that, I would go for deprecating it right, now, in favor of subtags.

comment:7 by pch14@…, 3 years ago

Hello skyper, I see you took the discussion to the OSM Wiki, where it belongs. I added a little bit "pro" to the discussion.

Just for the record: The number now is 5155 for tram_level_crossing, and 5144 for tram_crossing. While waiting, we can see how iD validator suggestions impact the map ;)

by skyper, 3 years ago

monthly numbers til Jun 2020

by skyper, 3 years ago

Attachment: railway_tram_crossing.json added

monthly numbers til June 2020

comment:8 by skyper, 3 years ago

We need the numbers from the first week of September. Only found them til June: 1621 (level) and 2258

comment:9 by pch14@…, 3 years ago also has no recent data, 26 hours passed, taginfo numbers are 5169 for tram_level_crossing, and 5158 for tram_crossing, i.e. every other hour, one gets added. Resistence will be futile.

comment:10 by pch14@…, 3 years ago

taghistory now has got the numbers. Indeed starting in September 2020, a sharp rise in usage can be seen.

comment:11 by Don-vip, 3 years ago

Ticket #20511 has been marked as a duplicate of this ticket.

comment:12 by Don-vip, 3 years ago

It's now a popular tag (>10k uses) but I agree with skyper: I don't see the need to this new tag, especially as it has not been proposed nor voted for... Going to ignore it for now.

comment:13 by Don-vip, 3 years ago

In 17535/josm:

see #19982 - ignore railway=tram_crossing/tram_level_crossing

comment:14 by aceman, 3 years ago

Correct, iD editor inventing its own unneeded tags and automatically converting valid tags into something of its own is nothing new.
It does not mean JOSM has to follow until the tags are properly voted upon and documented.

comment:15 by pch14@…, 3 years ago

OSM-Carto received a wish on their issues tracker to render these, I cautioned them to consider twice, before doing that. Still, I think, an editor would do good to show, that it knows of them; for me no need for a preset to add them. A smaller and desaturated railway crossing icon might be adequate, the blue dot is just disturbing. Taginfo shows a steep increase and there are lots remaining to be marked. These tags were not invented by iD devs, they are not particularly new either, the documentation is sufficient, there are a number of tags that never got voted upon and enjoy full support.

comment:16 by skyper, 3 years ago

Nice, OSM-Carto is not rendering railway=stop nor public_transport=platform or public_transport=stop_position but the crossing is important?

comment:17 by pch14@…, 3 years ago

Hmm, the cynicism here makes me wonder, they received a wishlist item from a third party; where does it say, anybody considered this important? I just reread their issue 4296, I can confirm that the labelling there does not read "important".

PS: My reasoning there to not render this is based on the same grounds, that make me think, that quincy of iD did the right thing, when iD stopped semi-automatically marking tram crossings with railway=crossing ;)

comment:18 by skyper, 3 years ago

Actually it is no cynicism, but criticism mixed with disappointment, which is a bad cocktail.

How about rendering railway=level_crossing with crossing:barrier=no, differently? I even use this subtag for railway=crossing.
crossing:light=* is another option, too, for different icons.

In my area, railway=crossing/level_crossing is used and we need z20 or z21 to get all rendered.

Last edited 3 years ago by skyper (previous) (diff)

comment:19 by pch14@…, 3 years ago

In my area, considerable effort is spent by the railway operator and the commune, to get rid of railway (level) crossings. There are very few anyway, but a single accident in 50 years will spark an initiative and create lots of bad press; for having to wait so long? At the same time, cyclists are advised to use the space between tram rails (the tram's track, so to say). There is already something brewing on the horizon, because the operator is hesitating to award thousands of Euros for damages when someone trips on those. Perhaps tram is too dangerous for cities and will vanish some time in the future.

PS: if listing tram_crossings as ignorable does away with the blue dot in the editor pane, I was fine.

comment:20 by mkoniecz, 3 years ago

This tags are garbage data and not worth supporting, beyond ignoring them - many of them are not representing actual tram crossings.

See for examples where iD pushes tagging utterly invalid data.

Last edited 3 years ago by mkoniecz (previous) (diff)

comment:21 by pch14@…, 3 years ago

What Mateusz alludes to might actually be a case for
iD is making the "crossing=*" tag worthless too with mechanical edits, see
Yet, there are valid "railway=tram_crossings" (few though), and then it fits the truth much better than "railway=crossing".
BTW: If mapping sidewalks as separate ways, mapping carriage lanes as separate ways is not way off, sounds much the same to me.

comment:22 by pch14@…, 3 years ago

PS: JOSM rendering the items would help JOSM user fix the errors created by careless iD users, that blindly follow the validator suggestions (and thereby even gain plus points from the gamification drive)

comment:23 by mkoniecz, 3 years ago

would help JOSM user fix the errors created by careless iD users

They would readd it soon, personally I see this tag as dead on arrival.

in reply to:  23 comment:24 by pch14@…, 3 years ago

You are right, will turn out an edit war, human vs. bot. Nevertheless, the tags serve a good purpose in damage control.

comment:25 by pch14@…, 2 years ago

I did open this, feel free to close, wontfix or such

comment:26 by skyper, 2 years ago

Ticket #21590 has been marked as a duplicate of this ticket.

comment:27 by skyper, 2 years ago

Cc: dieterdreist added

comment:28 by aceman, 17 months ago

I think there are semantical differences between a tram crossing and a train crossing (railway crossing). In the former, you can just look around and cross the tracks. For a train, you need to be more careful, there are further law obligations what to do. Crossing a train track may be harder/slower and penalized more than tram crossing in routers for pedestrian/car more. Even more so for wheelchair routing as in the reported case.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to pch14@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.