GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
306 stars 58 forks source link

Doubled pixels at high zoom levels #62

Closed jcphill closed 3 years ago

jcphill commented 3 years ago

Describe the bug When zoomed in past native raster resolution some rows and columns of pixels are doubled.

To Reproduce

  1. Download and unzip check.tif.gz
  2. Load into https://geotiff.github.io/georaster-layer-for-leaflet-example/examples/load-file.html
  3. Zoom in.

Expected behavior A regular checkerboard pattern should be displayed.

Screenshots

Pixel_aliasing

Desktop (please complete the following information):

DanielJDufour commented 3 years ago

Hi, @jcphill . Thank you for catching this! I'll definitely take a look.

jcphill commented 3 years ago

78 should fix this.

DanielJDufour commented 3 years ago

@jcphill , I added a specific test case for this, merged your PR, and republished. Thank you so much!