Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Optimized GeoTIFFs are shown pixelated #9

Open
kannes opened this issue Jan 3, 2021 · 1 comment
Open

Cloud Optimized GeoTIFFs are shown pixelated #9

kannes opened this issue Jan 3, 2021 · 1 comment

Comments

@kannes
Copy link

kannes commented Jan 3, 2021

Describe the bug
Cloud-optimized GeoTIFFs are shown pixelated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://geotiff.github.io/georaster-layer-for-leaflet-example/examples/load-cog-via-script-tag.html
  2. The image shows pixelation:
    image

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.

@RLC92
Copy link

RLC92 commented Jan 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants