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

Label ref or local_ref on public_transport=stop_position for trains #4662

Open
OpenGreenStreet opened this issue Aug 22, 2022 · 12 comments · May be fixed by #4800
Open

Label ref or local_ref on public_transport=stop_position for trains #4662

OpenGreenStreet opened this issue Aug 22, 2022 · 12 comments · May be fixed by #4800
Labels
new features Requests to render new features text

Comments

@OpenGreenStreet
Copy link

I would like to see the track number displayed in the default view as well. From my point of view, that would be important for quick orientation. (For searching line number I would have switched for sure). For me, track numbers are as much as house numbers are for buildings.

See also: openstreetmap/openstreetmap-website#3659 (comment)

@imagico
Copy link
Collaborator

imagico commented Aug 22, 2022

You need to provide some more information:

  • what is a track number?
  • how is it tagged?
  • on what kind of feature is it tagged?

Preferably also link to an example where you think rendering this would be beneficial.

@OpenGreenStreet
Copy link
Author

@imagico
Copy link
Collaborator

imagico commented Aug 22, 2022

That map shows various numbers in the area you linked to so could you please be somewhat more specific what tag you would like to see rendered on what kind of feature?

@OpenGreenStreet
Copy link
Author

In German: „die Nummer des Gleises“ (the track number?)

@imagico
Copy link
Collaborator

imagico commented Aug 23, 2022

It would be much easier if you'd just answer my questions. Possibilities what you might want to see rendered are:

  1. ref on railway=rail ways - like 4000 here - this is not rendered on the public transport map but comes close to the concept of a track number. This is often ambiguous though due to different numbering systems.
  2. railway:track_ref on railway=rail ways - like 301 here - same comment as for 1. above.
  3. ref on route relations with route=track - like 4000 here - less ambiguous in semantics than 1. and 2.
  4. ref or local_ref on railway=platform - like 2;3 here - this is actually shown in the public transport map but is a platform number and not a track number and - as the example shows - frequently contains semicolon separated lists.
  5. ref or local_ref on public_transport=stop_position - like 3 here - this is probably one of the numbers that is rendered in the public transport map - the numbering of the stop positions however does not necessarily have to match that of the tracks.

@OpenGreenStreet
Copy link
Author

I think „5.“: My question: my itinerary shows me: change trains in city X. I arrive at platform 3 and am supposed to take the onward train from platform 23. My idea: as a traveler I open OSM (in cityard mode) and . . . I don't see any track numbers . . . So I have to orient myself on the platform and can not prepare.

@OpenGreenStreet
Copy link
Author

@imagico: Thank you for the feedback and the effort you have made

@imagico imagico changed the title numbering of tracks Label ref or local_ref on public_transport=stop_position for trains Aug 23, 2022
@imagico
Copy link
Collaborator

imagico commented Aug 23, 2022

I have changed the issue title to more accurately reflect the request.

I don't really see how this can be implemented at the moment but i am no expert in public transport mapping. From a quick look it seems the vast majority of public_transport=stop_position are at bus/tram/train halts where there is no locally differentiating numbering (i.e. where there is no number or the number is a trivial '1' with no '2' or other number being nearby).

Someone would need to analyze the mapping practice world wide to determine if there is a reasonable way to label the meaningful information without filling the map with a lot of pointless labels.

@imagico imagico added new features Requests to render new features text labels Aug 23, 2022
@map-per
Copy link
Contributor

map-per commented Mar 27, 2023

For public_transport=stop_position the means of transport are specified with e.g. train=yes, subway=yes, tram=yes, or bus=yes. This way one can limit the rendering to trains (Overpass querry: https://overpass-turbo.eu/s/1sZ2).

@map-per
Copy link
Contributor

map-per commented Mar 27, 2023

I would prefer rendering ref, local_ref appears to be a "misused" tag (1).

(1) https://wiki.openstreetmap.org/wiki/Key:local_ref

@map-per
Copy link
Contributor

map-per commented Apr 4, 2023

I opened a pull request for this (#4800)

Open Questions:

  • should both ref and local_ref be rendered or just one of them?
  • I observed some rendering artifacts between tiles. Can one avoid that some way?

artifact1
artifact2
artifact3

@map-per
Copy link
Contributor

map-per commented Apr 17, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new features Requests to render new features text
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants