Water layer rendered incorrectly

Author: stalkerGHCreated Feb 11, 2026Updated Mar 3, 2026

There is something I don't understand. I am trying to generate a map of a large city with a big river flowing through it. I set --distance 60000. I managed to generate a file as shown in the attached screenshot (coordinates covered by city name is not important, I played with their positions):

Image

You can clearly see the river flowing from south to north, plus surface water. But subsequent iterations do not show the entire river. That is, you can see its outline and banks, but it is not filled with color as it should be. It looks like this:

Image

I will say right away that this happens regardless of the theme used:

Image

Also another city has the same problem even though the distance is much smaller (--distance 30000):

Image

In the create_map_poster.py code, I explicitly specified tags that are associated with the river and water in general. Some of them are probably unnecessary because they belong to the water class, but I included them just in case.

tags={
    "natural": ["water", "bay", "strait", "coastline", "sea", "ocean"],
    "waterway": ["riverbank", "river", "canal", "dock", "basin", "stream", "tidal_channel", "drain", "ditch", "fairway", "dam", "weir", "waterfall", "lock_gate"],
    "place": ["sea", "ocean", "bay"],
    "water": ["river", "lake", "lagoon", "pond", "reflecting_pool", "reservoir", "basin", "oxbow"],
    "water": True
}

What could be the cause? I don't want to clear the cache and reload the data every few moments so as not to overload the Overpass API server.

Source: originalankur/maptoposter