Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quest Modification: Height limit for railway crossings #5180

Closed
gdprdatasubect opened this issue Aug 8, 2023 · 19 comments
Closed

Quest Modification: Height limit for railway crossings #5180

gdprdatasubect opened this issue Aug 8, 2023 · 19 comments
Assignees

Comments

@gdprdatasubect
Copy link

Use case
Expand Quest: "What is the height limit here?" to railway=level_crossing

Proposed Solution

Ask if there is a maxheight displayed via signs if no tag maxheight:signed=no and maxheight=default
If there is a sign tag maxheight:signed=yes and ask the user for the corresponding value for maxheight

@matkoniecz
Copy link
Member

In which countries it is commonly signed? In Poland for example signage is unusual in such cases.

@matkoniecz matkoniecz added the feedback required more info is needed, issue will be likely closed if it is not provided label Aug 8, 2023
@mnalis
Copy link
Member

mnalis commented Aug 8, 2023

Yeah, it does sound strange to me too, how would it even look? Do you have a picture @gdprdatasubect ?

I've always understood that it is railway=level_crossing only if "a road crosses a railway on the same level; i.e., without a bridge" - and as it is level, there is not bridge/tunnel, so there should not be any height limits?

Taginfo says that only 0.12% of railway=level_crossing have maxheight=* tag, and the wiki does not mention that tag combination either.

@gdprdatasubect
Copy link
Author

This is the one that probed my interest in this subject:
image credit: "invest0r"
here is another interesting, indirectly restricted one:
image credit: google

The normal legal maxheight for vehicles in germany is 4 meters, however there are apparently some exceptions for agricultural vehicles.

@mnalis
Copy link
Member

mnalis commented Aug 8, 2023

Thanks @gdprdatasubect, does this situation happen often in your country that railway=level_crossing has such height limitations? Can't say I've seen them much (or really at all) in Croatia.

Note quest guidelines, especially ":zzz: No spam" and ":clock4: Effort vs impact".

  • If it does not happen often, perhaps as a workaround you can just long-press and leave a note (maybe even with a picture)?

  • But if it does happen often enough, then we would need list of countries where it happens often enough, so such quest can be enabled there.

@gdprdatasubect
Copy link
Author

grafik

https://overpass-turbo.eu/s/1yGC

I made an overpass query, all crossings that don't have have "4" or similar tagged as maxheight are red.
4.5 seems standard in the eastern block, so i gave it a different colour

France seems to have more data than germany, there it is more varied with everything from 3.2m to 4.7m:
grafik

The Standard for Sweden seems to be float handling errors :D This would maybe be an good example where the tagging for maxheight:signed=yes could come in handy?
grafik

@arrival-spring
Copy link
Contributor

It seems to be only/mostly relevant where there are overhead wires, so the quest could be limited to level crossings of railways with electrified=contact_line

@westnordost
Copy link
Member

So, I guess it makes sense to ask for railway crossings with electrified contact lines.

@westnordost westnordost added enhancement and removed feedback required more info is needed, issue will be likely closed if it is not provided labels Aug 9, 2023
@westnordost westnordost changed the title Quest Modification: What is the height limit here? Quest Modification: Height limit for railway crossings Aug 9, 2023
@rhhsm
Copy link

rhhsm commented Aug 12, 2023

I assume there is an international railway standard for the distance between rails and overhead wires? Then crossings with a height limit less than that standard should be very rare, and the quest would be very spammy?

@matkoniecz
Copy link
Member

So, I guess it makes sense to ask for railway crossings with electrified contact lines.

Not everywhere. In Poland it seems that catenary height is higher than highest standard vehicle size and therefore height limit are unsigned.

@gdprdatasubect
Copy link
Author

I assume there is an international railway standard for the distance between rails and overhead wires?

No there is not, have a look at that overpass-query I posted.
Sometimes it varies even for a single country, for example India opened a line with a wire height of more than 7 meters to be able to double stack containers.

There are even different catenary-wire-widths, e.g. any locomotive that wants to drive on Swiss rails needs another set of Panthographs

@westnordost
Copy link
Member

Anyway, I do not think it is worth the effort to research in which countries a certain always-sufficient min height for electrified contact lines can be assumed, considering that such railway crossings are not that frequent that it would feel like spam to be asked maybe a little too often. From my side, it can be implemented as described: For all railway crossings that share a node with a railway line that has an electrified contact line.

The code is here in case anyone would like to create a PR:

https://github.com/streetcomplete/StreetComplete/blob/master/app/src/main/java/de/westnordost/streetcomplete/quests/max_height/AddMaxHeight.kt

It would make sense to add a unit test for this case, too. Current tests for this quest are here:

https://github.com/streetcomplete/StreetComplete/blob/master/app/src/test/java/de/westnordost/streetcomplete/quests/max_height/AddMaxHeightTest.kt

@westnordost
Copy link
Member

@gdprdatasubect it would be useful if you uploaded the first photo you got there (if it is yours) also into the wiki to be mentioned in https://wiki.openstreetmap.org/wiki/Key:maxheight

@westnordost westnordost self-assigned this Aug 17, 2023
@gdprdatasubect
Copy link
Author

(if it is yours)

Unfortunately not, but i'll ask the photographer and check a local railway crossing if he says no.

@FloEdelmann
Copy link
Member

@claudiush
Copy link

The problem with this quest is that in cities with tram infrastructure (e.g. my experience in Leipzig) suddenly the whole city is plastered with these quests and it took me a few days to understand this wasn't triggered by a bug with the generic maxheight quest, but because the crossing tram lines have overhead wires. I don't know of a single crossing in Leipzig that has the maxheight signed for any tram crossing, so there seems to be very little value. Maybe ignore the quest for railway=tram ?

@westnordost
Copy link
Member

It seems to be a useful information whether the maximum height on roads is limited due to the tram overhead wires, as these wires are not particularly high up. Then again, if such information is virtually never signed for trams, it indeed would make no sense in asking for it. Would need some input, how is it in other places with tram lines - or maybe the signs come earlier, not directly in front of the crossing?

@matkoniecz
Copy link
Member

matkoniecz commented Sep 17, 2023

I have never ever seen such signs for tram crossings in Poland (though I have seen trams only in few cities...). Also, in Poland it is extremely, extremely rare also for rail level crossings.

@mnalis
Copy link
Member

mnalis commented Sep 17, 2023

Never seen in it on tram crossings in Croatia, very rare for rail level crossing too.

@westnordost
Copy link
Member

Alright, I excluded tram lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants