Comments (2)
What do you mean by
and... nothing happened
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 rm -rf .
in the tiles directory), (force) re-rendered, or expired (aka. re-render after the next client access) to use the new style.
Which renderd
/ mod_tile
script did you run exactly and with which arguments?
render_expired
?
render_list
?
(render_list_geo.pl
?)
Did you manually edited the mapnik.xml
or did you compiled it with carto
or another tool?
Before I knew about carto
I started manually editing the default XML file, to create my own style. I changed it a few times because of changing requirements / wishes from the product owner(s).
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].
from openstreetmap-tile-server.
@MichalPopieluch you can run "docker logs container_id" or "sudo docker logs container_id" to see the errors in rendering
from openstreetmap-tile-server.
Related Issues (20)
- hangs on startup HOT 3
- Segmentation fault during import HOT 5
- Run container over proxy with UPDATES=ENABLED parameter
- running server If I run the server, does it automatically render for all the files?
- Import command fails for OSM data
- Data/Labels not shown up on maps HOT 1
- How do I force latin names for countries like Greece or China? HOT 6
- Postgis Plugin: ERROR: could not resize shared memory segment "/PostgreSQL.2682777122" to 50438144 bytes: No space left on device HOT 1
- To optimise the rendering HOT 1
- Import not completing HOT 7
- Search filed?
- Postgres in container not working HOT 2
- Tile fetching behind reverse proxy HOT 1
- Postgres says rendrer user already exsists
- Error downloading tile file : i/0 time out HOT 3
- til-server automatic update: how to do? HOT 2
- Running out of space when downloading the planet HOT 3
- postgresql error HOT 1
- Automatize tile rendering of big country HOT 1
- Can We Use an External PostgreSQL in Kubernetes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openstreetmap-tile-server.