I've used polytiles.py with the old XML OSM style to generate tiles from the GB pbf and it worked fine. However, when I import the PBF into the db with the openstreetmap-carto style and use polytiles.py again, the tiles are created as before but without any large areas of water. e.g. the tile should look like:

enter image description here

but using carto and polytiles.py it looks like this:

enter image description here

I've run get-shapefiles.sh, carto is installed via 'npm install carto' and 'apt-get install node-carto' and I was wondering what steps I might have missed?

1 Answer 1


what steps I might have missed?

osm2pgsql? You don't mention at all what you use to create your database...

These lakes are almost certainly large OSM multipolygon relations. Quite a lot of software does not properly process them.

  • I used osm2pgsql with the default osm.xml style and it's fine. I used the master version of openstreetmap-carto and it did the above. I used the 2.39.0 release and it was even worse. A blue tint over the whole map
    – codebrane
    Commented Mar 31, 2016 at 9:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.