Skip to content

Parameter for min zoom rendering #271

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

You must be logged in to vote

@gagecarto in your request it seems that you are passing a nodata=99999 option which tells me your original data might not have internal nodata set. When creating overviews (using bilinear resampling) you'll create fake values in those.

While the nodata option is present in rio-tiler/titiler it should be avoided if you can set the nodata value directly in your COG.

rio cogeo create --nodata 99999  --co TILED=TRUE --co BLOCKXSIZE=128 --co BLOCKYSIZE=128 --co COMPRESS=DEFLATE --overview-resampling=bilinear inputFile.tif outputFile.tif

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gagecarto
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