-
Notifications
You must be signed in to change notification settings - Fork 20
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
Do not render monorail stations #75
base: master
Are you sure you want to change the base?
Conversation
Disables labels for monorail stations in the station labeling layers.
Disable labels for monorail stations in the station labeling layers.
Disable labels for monorail stations in the station labeling layers.
I wonder if one can't just tell the database to filter out those stations in the SELECT so the actual rendering code will never see them. |
I'll look at that. Stations are interesting since there's a lack of standardization or maybe lack of precision: we show miniature stations sometimes since there's no station=miniature flag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[railway = 'halt'][station != 'funicular'][zoom >= 10], | ||
[railway != 'tram_stop'][station != 'funicular'][zoom >= 11] { | ||
[railway = 'station'][station != 'funicular'][station != 'monorail'][monorail != 'yes'][zoom >= 10], | ||
[railway = 'halt'][station != 'funicular'][station != 'monorail'][zoom >= 10], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you intentionally skip `[monorail != 'yes'] here?
fixes #43
looks for station=monorail and/or monorail=yes.