2

So I am trying to render all the tiles for the state of Florida with the file generate_tiles.py that came with mapnik. The tiles are rendering, but erroneously including multiple city names (see below). Does anyone know how to fix this?

Apopkas everywhere!

1

I think that your problem is with your database or mapnik style.

The first question is where you got the .osm file used to generate your database? May you check if it is ok?

The second one is how you generated your Mapnik style? May you can retry the process?

To answer these question you need to verify if the database has repeated nodes or the mapnik style is incorrect.

To verify if your database don't have repeated city names, you can use (if you're using a database with the osm2pgsql schema) a SQL statement like the following:

SELECT * FROM planet_osm_point WHERE place IN ('city', 'town')

If your database and style are ok, you can try to follow this tutorial to generate and render tiles with the stack Mod_tile, renderd, mapnik, osm2pgsql and a postgresql/postgis database.

You can also try to create a new mapnik style using tools like Tilemill or MapBox Studio Classic and theopenstreetmap-carto style and then verify if your problem is solved.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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