COG Image disappears when zoomed out to world extent #673
Closed
raster-blaster
started this conversation in
General
Replies: 1 comment
-
when using titiler, we assume a dataset has a minzoom and a maxzoom (for a given TileMatrixSet). The minzoom is calculated in rio-tiler (https://github.com/cogeotiff/rio-tiler/blob/main/rio_tiler/io/rasterio.py#L168-L188) as the resolution of the smallest overview (theoretical). Beyond this minzoom, reading a COG might be pretty inefficient (ref: cogeotiff/rio-tiler#348) but you can |
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
-
When viewing a COG in Titiler using the /cog/viewer, I noticed that the image is visible at a lower zoom level but disappears as I zoom out further. The same behaviour occurs in our front-end application. However, in QGIS, the COG image remains visible even when zoomed out to the world extent. I would appreciate any guidance on how to ensure the COG image stays visible when zoomed out. Thank you for your assistance.
When zoomed in, Image displays
![Pasted Graphic 2](https://private-user-images.githubusercontent.com/11376089/254945691-d6856d5a-e513-4e71-b2e2-f0fd271831d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjAzMjcsIm5iZiI6MTczODkyMDAyNywicGF0aCI6Ii8xMTM3NjA4OS8yNTQ5NDU2OTEtZDY4NTZkNWEtZTUxMy00ZTcxLWIyZTItZjBmZDI3MTgzMWQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA5MjAyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1NTk2ZGVlNzkwZGJhMTNmZjA3MjExNTRjNmMwMTc4NzRiZWRhNWUwYzBlM2M4ZGY4YTYzNjRiNDk2Y2NjMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.XB0nWO1Nt14uTLHKcxx9uxXLxfVYiMYOM4j57hK-A6Q)
When zoomed out, Image disappears
![Pasted Graphic 3](https://private-user-images.githubusercontent.com/11376089/254945957-5331abb2-7b83-456c-a3cf-96b31727206b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjAzMjcsIm5iZiI6MTczODkyMDAyNywicGF0aCI6Ii8xMTM3NjA4OS8yNTQ5NDU5NTctNTMzMWFiYjItN2I4My00NTZjLWEzY2YtOTZiMzE3MjcyMDZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA5MjAyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTczZjIxMWRhYjY2ZTFiZmJhMjM5OGM1NjM5MTcwZTZhOGU3MTY5ZWVkYWRhNGZmZjIzNjgwMDZkODIyMjBhMDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Z2yQNZOf2qajz-YHvTSIkyhW6NM0l9uvHTFt_R5rBkU)
Beta Was this translation helpful? Give feedback.
All reactions