-
Notifications
You must be signed in to change notification settings - Fork 819
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
Public transport shelter should not be labeled with elevation #4270
Comments
Thanks for the report. There seem to be a few misconceptions here:
I think this issue could still make sense in the following versions:
|
I'd prefer "render shelter_type=public_transport with a symbol distinct from ordinary amenity=shelter" as well as "not render ele on amenity=shelter + shelter_type=public_transport". |
Thank you for clearing up my misunderstanding. Indeed, I meant to suggest omitting the elevation from |
Ok, i changed the title to reflect the idea or removing the elevation label - that is non-controversial and a good first issue for new developers. Differentiated rendering of different shelter_type values is more tricky to do in an intuitive fashion. |
hey @imagico i would like to work on it . |
will you guys help me |
Sure - general instructions how to get started with this style can be found on https://github.com/gravitystorm/openstreetmap-carto/blob/master/INSTALL.md With any specific questions on how to fix this issue just ask. |
@GoutamVerma there is a fairly detailed explanation about how to do a PR and test changes at #2291 (comment) - and the following comment. |
This line adds the elevation for the name of all tpes of openstreetmap-carto/project.mml Line 1470 in e77163e
If you simply want to not render the ele=* when there is a But you might also want to consider what other shelter_type values should or should not have the elevation rendered. Perhaps this is also not needed for a In that case you could add |
@jeisenbe already mentioned where the change needs to be made. For additional context - the label shelters and other POIs are labeled with is defined by openstreetmap-carto/project.mml Lines 1463 to 1477 in e77163e
That is a very complex expression combining both elevation values for peaks and shelters and height values for other features. You can simply ignore most of it and modify the condition for shelters as @jeisenbe explained. Make sure you get the braces right, that needs to be:
|
Expected behavior
A bus shelter tagged
amenity=shelter
building=yes
shelter_type=public_transport
should be rendered as an ordinary building with or without anele
tag.Actual behavior
The
ele
tag causes the bus shelter to be rendered like an alpine hut, labeled with a 🌧️ and an elevation. For example, this way was added as part of a building import that included elevations and heights for every building. The bus shelter is useful for avoiding the rain, but the elevation is not particularly interesting for a 2D renderer. (It might be useful for a 3D renderer.)Links and screenshots illustrating the problem
/ref #3382
The text was updated successfully, but these errors were encountered: