-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Describe the bug
Cloud-optimized GeoTIFFs are shown pixelated.
To Reproduce
Steps to reproduce the behavior:
- Go to https://geotiff.github.io/georaster-layer-for-leaflet-example/examples/load-cog-via-script-tag.html
- The image shows pixelation:

Expected behavior
The library should pick the most appropriate overview imagery and by that the image should be rendered with less or "no" pixelation.
Desktop (please complete the following information):
- Firefox 84.0.1, no page zoom is set.
Additional context
I would guess that the wrong overview level is shown?
The example file uses 256x256 blocks. However in the HTML a resolution of 128 is used. Is that supposed to match? The parameter is not really documented in a way that is clear:
| resolution: 64 // optional parameter for adjusting display resolution |
Setting the resolution parameter to 256 makes it look good but I have no clue what that actually does.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels