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

Render amenity=bicycle_rental ref if it has no name #679

Open
gszy opened this issue Jun 24, 2024 · 0 comments
Open

Render amenity=bicycle_rental ref if it has no name #679

gszy opened this issue Jun 24, 2024 · 0 comments

Comments

@gszy
Copy link

gszy commented Jun 24, 2024

Some bike rental networks have their pickup points identified by some number, but without any name or description. If I understand the current code correctly…

[feature = 'amenity_bicycle_rental'][zoom >= 18] {
text-name: "[name]";
text-size: @standard-font-size;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-fill: @bicycle-rental;
text-dy: 10;
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
text-placement: interior;
}

…it seems there are no labels for nodes without the name tag on CyclOSM. Could you add ref as a fallback in case there’s no name?

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

No branches or pull requests

1 participant