Skip to content

Multi-band cog file is not working as expected #784

Closed Answered by vincentsarago
vs-solution7 asked this question in Q&A
Discussion options

You must be logged in to vote

Your TIF must be of datatype float which is why titiler can't display it well by default.

curl https://titiler.xyz/cog/info\?url\=https%3A%2F%2Fopo-test-temp.s3.us-west-2.amazonaws.com%2Fmap-layers%2FGreenInfrastructure%2Fcontext%2Frgb%2F2023-09-01_2023-11-30_fcover_mean.tif | jq '.dtype'   

"float64"

You can use the rescale min/max entry to adjust the rescaling values

https://titiler.xyz/cog/map?url=https%3A%2F%2Fopo-test-temp.s3.us-west-2.amazonaws.com%2Fmap-layers%2FGreenInfrastructure%2Fcontext%2Frgb%2F2023-09-01_2023-11-30_fcover_mean.tif&rescale=0,1&bidx=1&bidx=2&bidx=3&minzoom=8&maxzoom=14

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vs-solution7
Comment options

Answer selected by vs-solution7
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