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
283 stars 57 forks source link

Error parsing georaster tiff file #111

Open mttucl opened 1 year ago

mttucl commented 1 year ago

I get below error in screenshot when I try to read the tiff file below. I don't have this issue with another lib that uses geotiff.js. I went through reported issues here and saw #32 but not sure if it is related.

glfl-error

Here is the file (please change file ext to "tif", sorry about that) example-glfl.txt

Thanks.

mttucl commented 1 year ago

Just a followup, I checked the tif file with gdalinfo and I see it is not georeferenced. Not sure if this is what causes this issue.

bethanywallace commented 1 year ago

Any more info on this? I'm having the same issue. Not sure what key its referring to, I know there are TIFF keys described here but my file has the mandatory ones: http://docs.opengeospatial.org/is/19-008r4/19-008r4.html#_geokey (go to section 7.1.1)