OpenRailwayMap / OpenRailwayMap-CartoCSS

CartoCSS port of the OpenRailwayMap styles, originally written in MapCSS
GNU General Public License v3.0
13 stars 19 forks source link

Turntables and traversers are not automatically imported as areas #74

Open JonathanBittner opened 2 years ago

JonathanBittner commented 2 years ago

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:

DerDakon commented 2 years ago

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.