StreetComplete
StreetComplete copied to clipboard
add railStopRef quest
Hello,
this PR adds a quest to fill out missing ref attributes on rail platforms. It's similar to https://github.com/streetcomplete/StreetComplete/issues/2126 for bus stops. We limited the region of this quest to Germany, Switzerland and France for the moment because in other countries there could exist a reference, but it's not shown on a sign. As far as we know, if a reference exists, it is always shown on a platform sign in these three countries
Checklist Checklist for quest suggestions (see guidelines):
- [x] :construction: To be added tag is established and has a useful purpose: Yes, the attribute is used by many map applications
- [x] :thinking: Any answer the user can give must have an equivalent tagging (Quest should not reappear to other users when solved by one): Yes, if there is no ref, the user can select "no number or Code visible"
- [x] :chipmunk: Easily answerable by everyone from the outside but a survey is necessary: if there is a platform ref, it's there on a big sign
- [x] :zzz: Not an overwhelming percentage of elements have the same answer (No spam)
- [x] :clock4: Applies to a reasonable number of elements (Worth the effort)
Background We are developers from German (DB), Swiss (CFF SBB) and French (SNCF) train companies working on train stations indoor mapping. We organized a OpenStreetMap hackathon in Strasbourg (France) in August 2022 to make together contributions to this topic. Within the frame of the hackathon, this quest was developed.
We just launched the Open Rail Foundation to promote collaborative open-source projects between European railway actors such as UIC, DB, CFF-SBB and SNCF because we have the same problems in all the countries. So, we think itβs worth sharing ideas, resources, code, data, and work on OpenStreetMap data and open source tools. We hope this contribution will be useful for routing inside stations.
I have never seen a "ref" number for any railway or subway stop in Germany. Or I do not know what to look for. If it is not easily surveyable by laymen on the ground, it cannot be a quest in StreetComplete. In particular, I do not see
π¨βπ» Users are no experts: No knowledge about OpenStreetMap or any other background knowledge must be necessary π΅οΈ Publicly accessible on foot: The information the users are supposed to collect must be easily accessible from the outside by pedestrians
Additionally, I find it may be much easier (and more available) to import such data from an official source, see
π΅ Valuable Surveyors: Surveyor time is valuable, they shouldn't be asked to complete data that does not require a survey and can more efficiently be done remotely.
Also, if you are looking for an international ref
numbers to attach data to for train stations, probably wikidata tags would be more useful. E.g. https://www.wikidata.org/wiki/Q800874 etc.
We organized a OpenStreetMap hackathon in Strasbourg (France)
Maybe in France it is more visible? Like "Ask ref for fire_hydrant in France" #3059
I have never seen a "ref" number for any railway or subway stop in Germany. Or I do not know what to look for
Isn't it just the track/platform number?
Looking at the wiki it might also be local_ref
, though judging by the comment column both ref
and local_ref
appear to be more or less the same in this context.
From looking at code it is actually asking about code of platform (railway = platform and public_transport = platform
), not of the railway stop as the title described. I though that it is asking about railway=halt
/ railway=station
code based on title and description so I ignored it.
Platforms definitely have codes/names also in Poland, but I would need to check how we tag them.
Hm well, platforms in Germany usually do not have signed numbers, only the tracks do. E.g. one platform would lead to track 1 and track 2.
@candux Friendly ping :slightly_smiling_face:
The goal of this quest is to add the ref attribute to all platforms. This attribute contains the track number which are accessible on this platform. If there are multiple possible tracks, they are separated by a semicolon. See this example: https://www.openstreetmap.org/relation/5708837
The title of this quest is in fact misleading. platform_ref
would probably be better. I will also add a better description inside the quest.
I have never seen a "ref" number for any railway or subway stop in Germany. Or I do not know what to look for. If it is not easily surveyable by laymen on the ground, it cannot be a quest in StreetComplete. In particular, I do not see
@westnordost Does this quest look reasonable to you that way?
OK, I understand you want to tag the (1-2) track numbers a platform leads to. Let's see:
- Can you point us to a wiki page that explains how this is tagged? Is it
ref
? Is itplatform_ref
Has it not really been defined yet? - The quest can only be asked in places where track numbers are clearly signed. So not in e.g. subway systems, light rail etc., only regular trains. (I know, some light rail systems do have track numbers signed, but not all, and then usually only at larger stations)
- The quest must be crystal clear what it asks about, lest wrong data is added by surveyors. Requiring the user to input some value separated by semicolon is "too much", there must be some custom UI that allows for 1 - 2 track numbers to be input (it must be clear to the user that if there is only one track, he can of course only input one and leave empty the other input field. I am not sure what would be the best UI for that, actually, Suggestions welcome.
1. Can you point us to a wiki page that explains how this is tagged? Is it `ref`? Is it `platform_ref` Has it not really been defined yet?
According to https://wiki.openstreetmap.org/wiki/Tag:railway%3Dplatform ref
should be used for "Platform reference number" (nothing about the track).
According to https://wiki.openstreetmap.org/wiki/Tag:public_transport=platform local_ref
should contain "Track number/platform number".
So this actually requires that only one of those numbers exists (e.g. in Czechia there are both track and platform numbers, but quest is disabled there anyway).
But also on this page it's stated that actually ref
is used for the track, which can also be seen when checking tagging at random railway stations in countries where the quest should be enabled.
This is quite inconsistent with bus stop ref... but well, it's definitely widely used that way.
2. The quest can only be asked in places where track numbers are clearly signed. So not in e.g. subway systems, light rail etc., only regular trains. (I know, some light rail systems do have track numbers signed, but not all, and then usually only at larger stations)
Judging from
We are developers from German (DB), Swiss (CFF SBB) and French (SNCF) train companies working on train stations indoor mapping.
I assume this quest is intended only for "regular" trains, so light_rail/tram/subway/monorail should definitely be excluded.
Anyway, I'll close this PR because as stated, it would have to be implemented with a different UI and possible different tags.