StrandedKitty / streets-gl

🗺 OpenStreetMap 3D renderer powered by WebGL2
http://streets.gl
MIT License
657 stars 49 forks source link

Coral reef rendering for WOW effect #156

Open igor-suhorukov opened 1 year ago

igor-suhorukov commented 1 year ago

To make best looking demo images it will be useful to visualize coral reefs near islets.

As an example https://www.openstreetmap.org/relation/7124252 How it looks in Streets-GL: image

This picture also shows missing in visualization for man_made=breakwater

And how it looks in real life: image Coral reefs marked with tags: natural=reef reef=coral I have drawn and fixed thousands of reefs in OSM all over the world and mainly in the Maldives.

Sometimes reefs places in the ocean without island in centre of reef, like "turtle shaped reef" or like Great Blue Hole. One more complex example is Blue Hole

@StrandedKitty your Streets-GL OpenStreetMap data visualization is awesome!

StrandedKitty commented 1 year ago

I don't think it's possible to come up with a nice visualization for natural=reef polygons. It's possible to fill them with a certain color/texture, but getting nice looking gradients would be very difficult.

Maybe we could use DEM (elevation data) here to get nice gradients based on water depth, but I don't know if this kind of detailed water depth data is available anywhere.

igor-suhorukov commented 1 year ago

It's possible to fill them with a certain color/texture, but getting nice looking gradients would be very difficult.

I have good and naive idea. Use some attribute on reef way(or isoline near it with depth attribute). It will be much more better then low res GEBCO. So if some island people decide to make their reef looks better they specify depth and draw isoline with depth attr. Default depth value of harbour=yes or leisure=marina inside reef 6-8m for small islet. Don't try to solve data absence in OSM data by rocket science inside StreetsGL.

It's possible to fill them with a certain color/texture, but getting nice looking gradients would be very difficult.

@StrandedKitty sounds great. It is much more better and interesting then reef absence. Without reef visualization many places in the ocean not will be visible at all image image