-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recreate tiles with new mapnik.xml file #42
Comments
What do you mean by
Did you get an image with the old style or did you get no image at all? Exchanging the XML file and restarting the container does work in my experience. But if the server already existed and worked before, then it still holds the tiles (image files) generated with the old style. The tiles cache needs to either be deleted (e.g. with Which Did you manually edited the Before I knew about Sometimes I made mistakes editing it, so it's important to monitor the logs at startup of the container (e.g. for invalid XML syntax or invalid semantic) and while rendering (e.g. invalid database queries), because there might be errors preventing it from re-rendering tiles, resulting in serving old cached tiles or an http error code. (Tip: it's a good idea not to deploy new styles directly to the productive tile server, but to test them out on a little test tile server serving only a small region). [Edit: I also tried out other Mapnik XML styles than openstreetmap-carto at some point, but often had errors with them because they might have different runtime requirements (e.g. fonts) and might need other data inside the postgres database]. |
@MichalPopieluch you can run "docker logs container_id" or "sudo docker logs container_id" to see the errors in rendering |
Hey,
I am trying to create tiles with my own style. I've created mapnik.xml file and replaced the old one in /home/renderer/src/openstreetmap-carto/mapnik.xml. Next, I've restart container and enter to http:/[host]/0/0/0.png website and... nothing happened.
So I've tried to run renderd script (from /home/renderer/src/mod_tile) and run.sh file, but with no results.
Could you tell tell how can I reproduce tiles with new mapnik.xml file?
Thanks in advance
Michal
The text was updated successfully, but these errors were encountered: