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
297 stars 58 forks source link

Investigate why OpenEO Tiff Not Working #76

Open DanielJDufour opened 3 years ago

DanielJDufour commented 3 years ago

https://github.com/stac-utils/stac-layer/issues/7

m-mohr commented 3 years ago

From my limited understanding of GeoTiff files it seems that there's an issue when reading the file directory and that there's a mismatch between advertised files/bands and files/bands present.

gdalinfo says:

Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn't match SamplesPerPixel. Defining non-color channels as ExtraSamples.

and

ERROR 5: .\vito2.tif: GDALDataset::GetRasterBand(4) - Illegal band #