-
Notifications
You must be signed in to change notification settings - Fork 13
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
Tiles cached at wrong zoom level #87
Comments
You're using a file based cache, right? Are there any special settings like https://www.bbox.earth/docs/tile-server/reference/#cachelimit ? |
Yes, we use a file based cache, I don't think we have any special settings as our cache config is limited to: [[tilestore]]
name = "tilecache"
[tilestore.files]
base_dir = "/opt/data/tilecache" |
I've encountered a similar issue where tiles are displayed incorrectly, especially at large scales, on www.vectormap.ch/basemapav. [[tilestore]]
name = "tilecache"
[tilestore.files]
base_dir = "/tmp/tilecache" |
My first guess for the initial example was that during the zoom process a part doesn't get overwritten by the new zoom level possibly because of a timeout or an error. Speaking against that is that deleting the cache fixes it. The second example is difficult to understand. On the right side it looks more like a tile border problem on the same zoom level. Is there a place where I can see the error? Bahnhofstrasse and Gartenstrasse are hard to find... |
I may have a live example on our development website, if it can be useful.
You should then arrive to a place where there is a tile discrepancy: |
This looks more like shifted by a few pixels, but with the correct zoom levels. When I zoom from the start page, I often see offsets between lines at tile borders. This looks like a numerical precision problem in tile generation? |
What I find strange is that these errors only appear for certain tiles at certain zoom levels, and they disappear (but may reappear elsewhere) if I clear the cache. |
By panning around in http://www.vectormap.ch/basemapav I found only tile errors like This looks also like the the zoom level is correct, but that some layers in the tiles are missing. Are there any database error messages? |
Could you try once without cache? |
I've disabled server side caching on: I've tried navigating the map for a few minutes and for the moment I didn't encounter any discrepancies. |
@juba I've no idea how caching can interfere here. Could you either send me the --loglevel debug output (with caching) or do a screen sharing session with me? @FabianRechsteiner We should move your problems into an other issue. The last image looks like a |
I moved my |
Sorry for my late answer... I've tried to adjust some settings regarding to |
Hi,
We are using bbox to create a new version of the lifemap website (version still in development, not public yet). It is working very smoothly, except for one issue : sometimes certain tiles are cached at the wrong zoom level, leading to display inconsistencies.
Here is an example screenshot: in this case the central tiles have been cached at a different (wrong) zoom level than the surrounding ones.
When this problem arises, clearing the bbox tile cache solves the problem.
I'm sorry to not have a reproducible example to give, but maybe other people did encounter the same issue ? Or someone may have an idea about how to prevent this kind of problem ?
Many thanks in any case...
The text was updated successfully, but these errors were encountered: