Skip to content

Understanding minzoom in MosaicJSON #577

Answered by vincentsarago
mradamcox asked this question in Q&A
Discussion options

You must be logged in to vote

👋 @mradamcox

Using the result in OpenLayers through Titiler's mosaicjson/tiles endpoint works great. However, as far as I can tell, if I zoom out past 14, Titiler continues to generate tiles, even though a minzoom is defined (and I can see it clearly specified in mosaic.json. I was thinking that at zoom <14, Titiler would return empty tiles (or 404), even for areas that the tifs do cover, but perhaps I'm just misunderstanding how Titiler handles this parameter.

It's not a bug but a feature, we allow tiles creation on whatever zoom requested but requesting zoom < min zoom will be pretty inefficient (with MosaicJSON). Still we thought it wasn't titiler's place to decide.

For now, I have …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mradamcox
Comment options

You must be logged in to vote
3 replies
@vincentsarago
Comment options

@mradamcox
Comment options

@vincentsarago
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants