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

Turntables and traversers are not automatically imported as areas #74

Open
JonathanBittner opened this issue Mar 29, 2022 · 1 comment
Labels
enhancement style:infra infrastructure style

Comments

@JonathanBittner
Copy link
Contributor

A closed way tagged as railway=turntable or railway=traverser is not automatically recognized as a polygon and the turntable rendering (shading) is not applied. If it's tagged area=yes or some other tag that indicates an area (ex. tourism=attraction, https://www.openrailwaymap.org/?style=standard&lat=40.87484646450063&lon=-73.52816417813301&zoom=19) it will render.

Possible solution: modify the lua script (setup/openstreetmap-carto.lua) to include railway = {turntable = true, traverser = true} inlocal polygon_values

Potential issues:

  • Does this mess up single nodes that are tagged as turntables?
  • While our repositories aren't linked, setup/openstreetmap-carto.lua is an exact copy of OpenStreetMap's file. Is it advantageous to be in sync? Should the change be proposed upstream?
@DerDakon
Copy link
Contributor

I guess this would also affect e.g. signal boxes, but those are usually also tagged as buildings. For none of them it makes IMHO sense to render them not as areas.

@DerDakon DerDakon added style:infra infrastructure style enhancement labels 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

No branches or pull requests

2 participants