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

Combined highway, railway, and aeroway #44

Open
pnorman opened this issue Mar 20, 2024 · 0 comments
Open

Combined highway, railway, and aeroway #44

pnorman opened this issue Mar 20, 2024 · 0 comments
Labels

Comments

@pnorman
Copy link
Contributor

pnorman commented Mar 20, 2024

Ways with both highway tags and railway tags have been a long-known issue with some styles. CartoCSS-based style had to combine railway and highway into one column to avoid suboptimal performance with multiple columns. Maplibre doesn't have those issues, but we're still combining. This is reasonable, as it makes it much easier to write the styles, but leads to problems with features combining highway, railway, and aeroway.

Using the example from earlier, it's not clear what the attributes of highway=service railway=tram should be.

For my implementation I'm going to treat the layer as a highway, railway, and aeroway layer combined into one. This will mean the same object can appear multiple times if it has both tags, which lends itself to easy style writing.

@pnorman pnorman added the spec label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant