Open kannes opened 3 years ago
Describe the bug Cloud-optimized GeoTIFFs are shown pixelated.
To Reproduce Steps to reproduce the behavior:
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):
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: https://github.com/GeoTIFF/georaster-layer-for-leaflet-example/blob/9d3b10d1ceec1fb6b34ccb08b6ee5fda2b090cbf/main.js#L33
resolution
Setting the resolution parameter to 256 makes it look good but I have no clue what that actually does.
I want to second this notion, I would like more documentation on how this feature works, and if possible/necessary a way to render at native resolution.
Describe the bug Cloud-optimized GeoTIFFs are shown pixelated.
To Reproduce Steps to reproduce the behavior:
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):
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: https://github.com/GeoTIFF/georaster-layer-for-leaflet-example/blob/9d3b10d1ceec1fb6b34ccb08b6ee5fda2b090cbf/main.js#L33Setting the
resolution
parameter to 256 makes it look good but I have no clue what that actually does.