Skip to content

Conversation

JonathanBittner
Copy link
Contributor

fixes #43
looks for station=monorail and/or monorail=yes.

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.
@DerDakon
Copy link
Contributor

DerDakon commented May 8, 2022

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.

@JonathanBittner
Copy link
Contributor Author

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.

Copy link
Collaborator

@Nakaner Nakaner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me apart from the issue pointed out in my comment.

frankflug-z16

[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],
Copy link
Collaborator

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are only 7 nodes I can find where this makes a difference, funny enough all of them are in Germany (Dortmund, Dresden, Europa-Park). Maybe just merge it as is?

@DerDakon DerDakon added the style:infra infrastructure style label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement style:infra infrastructure style

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Monorails aren't rendered but monorail stations are rendered

3 participants