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

Rendering of coral reef at lower zoom levels #3877

Open
c933103 opened this issue Sep 8, 2019 · 4 comments
Open

Rendering of coral reef at lower zoom levels #3877

c933103 opened this issue Sep 8, 2019 · 4 comments

Comments

@c933103
Copy link

c933103 commented Sep 8, 2019

Currently, coral reefs like https://www.openstreetmap.org/way/425270917 will only be rendered up to level 10, but from the scale of the coral reef in the picture, wouldn't it be more appropriate to render it up to ~level 6?

@jeisenbe jeisenbe added the water label Sep 8, 2019
@jeisenbe
Copy link
Collaborator

jeisenbe commented Sep 8, 2019

Currently we only render natural=reef areas with an overlay pattern of blue dots. Patterns such as this do not work well at low zoom levels, where features are often quite small on the screen. While this bank is quite large, many mapped reefs are only a couple hundred meters across, so would only be 3 or 4 pixels wide at z10: the pattern is not understandable at that size.

We would also like to add specific patterns to distinguish coral, rock, and gravel reefs in the future; these patterns will work even less well at z6 to z9.

But we are currently discussing how features in the intertidal zone, such as beaches and shoals, might be rendered differently. A slightly darker and less saturated blue fill color might work for areas of shallow water such as reefs and shoals, without requiring the use of a hard-to-see pattern at low zoom levels. See #3864, #3854 and #3840 for more.

@imagico
Copy link
Collaborator

imagico commented Sep 8, 2019

The wiki currently defines natural=reef extremely broadly but actual use is much more limited to fairly shallow areas. This has reasons mainly in what is practically observable - on the ground and on imagery. This limits practically verifiable mapping of reefs mostly to areas less than about 20 meters deep and that is also what can be practically found in the database tagged as natural=reef. The Macclesfield Bank is on average about 40 meters deep and what you linked to does not seem to be drawn based on verifiable observations.

There are also extensive shallow reefs, in particular carbonate platforms like the Bahama Banks but so far most reef mapping concentrates on smaller coral reefs around tropical coasts.

Current tidalflat rendering starts at z9 (well - except for the general wetland dashing - which has been extended to z5 in #3458, but that does not really make a lot of sense) and i'd say that is a pretty reasonable starting zoom level for reefs as well when rendered in the current form with a pattern.

In the ac-style i recently tried switching to a solid color for reefs for the lower zoom levels:

https://github.com/imagico/osm-carto-alternative-colors/blob/master/landcover.mss#L920

but i have not much evaluated that in rendering yet.

@c933103
Copy link
Author

c933103 commented Sep 10, 2019

Wouldn't it be more common to use lighter blue to represent shallow water, instead of darker blue?

@jeisenbe
Copy link
Collaborator

jeisenbe commented Sep 10, 2019 via email

@jeisenbe jeisenbe added this to the Bugs and improvements milestone Jan 9, 2020
@jeisenbe jeisenbe changed the title Rendering of coral reef Rendering of coral reef at lower zoom levels Mar 27, 2020
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

3 participants