gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.53k stars 817 forks source link

Render small wind turbine only at higher zoom level #4482

Open Nekzuris opened 2 years ago

Nekzuris commented 2 years ago

Hi, I recently tagged a small 10m high domestic wind turbine like this:

power=generator
generator:source=wind
generator:method=wind_turbine
generator:type=horizontal_axis
operator:type=private_individual
height=10
blade:count=3
rotor:diameter=2

but now it's rendering on the map before every other POI at zoom level 15 and it doesn't look right image

I can see why a tag to control the zoom level to show or not feature might not be a good idea, but then the height of wind turbine should be considered for rendering.

Also I think caves would be better at zoom 16

imagico commented 2 years ago

I would be careful not to generalize from a specific example. There is for example a wind generator of similar size here:

https://www.openstreetmap.org/#map=15/47.9350/7.9139

which i think is perfectly fine to start showing at z15. Neither height nor rotor:diameter is a very good indicator for cartographic importance since it does not include the geographic context.

In principle it could be worth considering rendering very large (offshore) wind generators a few zoom levels earlier and large land based ones about one zoom level earlier and in return move up the default starting zoom level for other wind generators to z16. That is in particular because large generators are more frequently tagged with additional data than smaller ones. The vast majority of rotor:diameter values for example are >40m.