With small geotiffs (<1000x1000), the latest release causes an error
Error: No image at index 4
With large geotiffs (5000x5000+) this is not a problem. I have fixed it by relying on version 1.0.0. The no image at index issue is altered by the pyramiding for the COG.
In GDAL, pyramiding a TIF with:
!gdaladdo -r average -ro ../data.tif 2 4 8 16
will cause a No image at index 4 error, while pyramiding with:
!gdaladdo -r average -ro ../data.tif 2 4 8 16 32
will cause a No image at index 5 error
I am using georaster-layer-for-leaflet to display COGs on a leaflet webmap. My COG is loaded like so:
With small geotiffs (<1000x1000), the latest release causes an error
Error: No image at index 4
With large geotiffs (5000x5000+) this is not a problem. I have fixed it by relying on version 1.0.0. The no image at index issue is altered by the pyramiding for the COG.
In GDAL, pyramiding a TIF with:
!gdaladdo -r average -ro ../data.tif 2 4 8 16
will cause a
No image at index 4
error, while pyramiding with:!gdaladdo -r average -ro ../data.tif 2 4 8 16 32
will cause a
No image at index 5
errorI am using
georaster-layer-for-leaflet
to display COGs on a leaflet webmap. My COG is loaded like so: