Zoom max in titiler? #248
Unanswered
emmanuelmathot
asked this question in
Q&A
Replies: 2 comments 3 replies
This sounds like a frontend issue, not really linked with TiTiler. A quick check with rio-tiler confirmed that we should still be able to create tile way after the max-zoom. from random import randint, sample
from rio_tiler.io import COGReader
from supermercado.burntiles import tile_extrema
with COGReader("https://rio-tiler-dev.s3.amazonaws.com/data/m_3209542_se_15_060_20181115_20190222.tif") as cog:
ovrzoom = 4
extrema = tile_extrema(cog.bounds, cog.maxzoom + ovrzoom)
tile_x = sample(range(extrema["x"]["min"], extrema["x"]["max"]), 1)[0]
tile_y = sample(range(extrema["y"]["min"], extrema["y"]["max"]), 1)[0]
tile_z = cog.maxzoom + ovrzoom
img = cog.tile(tile_x, tile_y, tile_z)
assert img.data.any()
assert img.mask.any()
are you certain that Titiler returns something? |
1 reply
|
@emmanuelmathot did you have continued issues with this? We've surfaced a similar error on another project and have tracked it down to the frontend - would be interested in comparing notes if you recall what happened here. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello, we have an issue with some multi band images (RGBA) when zooming into the raster. After a certain zooming level (probably after the native resolution), the image disappears. Titiler does not return any error, just a blank transparent image.
The raster image is properly cogified with full res data and with overviews. I wonder about a kind of ZOOM_MAX parameter somewhere in the image. If you have any hint about the issue, please let me know.
Thank you!
image is transformed in COG this way
All reactions