Replies: 1 comment
-
the scale define the size of the tile https://github.com/developmentseed/titiler/blob/main/src/titiler/core/titiler/core/factory.py#L905-L910 it's limited to 4 because it was the default of mapbox gl when we started this project
I'm not sure what's going on without having a minimal reproducible example. What I can say is that you shouldn't use the |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi! I am using the cog module of titiler and trying to display data from z0/1 all the way to z15.
Two questions --
Can you explain what the
scalequerystring param does and why are the values only 1-4?When showing this 600m raster at z0-3 using
scale=2, titiler made an image with gapsAdjusting to

scale=3orscale=4got rid of gaps z2-3, but there are still gaps at z1.This is what the request url looks like
tiles/cog/tiles/WebMercatorQuad/6/22/32.webp?url=<tif_uri>&bidx=1&rescale=0%2C650.0&return_mask=true&scale=3Can you explain what's happening under the hood and how we can get rid of the gaps? We want a clean and continuous raster image.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions