Page MenuHomePhabricator

Islands and other map features hidden by bays
Closed, ResolvedPublic


In the OpenStreetMap maps imported to Wikimedia, bays can hide islands within them. An example of this is an island Gressholmen just outside Oslo, Norway. The island itself is not visible on the map, but zoomed sufficiently paths and houses on the island can be seen underneath the water. Links to maps below.

I asked about this on the Norwegian mailing list for OpenStreetMap, and learned first that this was probably because there was modelled a bay there. Later that this apparently is a common cause and that it is common that users of OpenStreetMap gets this wrong. However I was told that the community around osm2pgsql have a way to deal with it. The fact that this island is clearly shown on testifies to that.

There are other cases I managed relatively easily to find, eg. close to Stockholm.
I don't know if Tag:natural=bay is a unique case.

Example Gressholmen (Wikidata Q952279):

Wikimedia: item for the island: item for the bay:

Event Timeline

I just came across an example that is worse than some small islands outside Oslo.

Look at and then zoom in one step from level 9 to level 10 and you drown the home of nearly 30 000 people.

Jhernandez edited projects, added Maps (Map-Styles); removed Maps.
Jhernandez added a subscriber: Jhernandez.

We don't have the resources right now to work on this, and it is probably solved on the new maps styles.

Reflecting reality on the priority.

Please keep an eye on the community wishlist later this and vote for better map styles!

It seems that Gressholmen now displays as the surrounding bay area object has been edited to exclude it. However as per natural=bay wiki page it isn't required to exclude islands. I still see quite some missing islands overlapping bay areas (w648202691, r9048910) around Estonia.

Inspired by openstreetmap-carto patch mentioned above, I gave it a try:

@Pikne thanks for working on top of that, I will take a look! Were you able to test it? I am asking out of curiosity because I am working on a Docker-compose environment for Kartotherian.

@Pikne thanks for working on top of that, I will take a look! Were you able to test it?

No. I hope that someone else can test it.

This is great, a nice Christmas present to us all.

I don't know how I could test it, but if you need a place that has not been changed and where the problem is still visible, try

Compare with

Or you can look at or where there are some problems with Åland.

Tested the above patch and the output is the following:

image.png (500×500 px, 65 KB)

For the current production environment we have:

image.png (500×500 px, 53 KB)

MSantos claimed this task.

Thanks for getting this done. I have checked a few places, where there were problems, but all the maps seem to be updated by now.