Open lliendo opened 2 years ago
Hi, @lliendo . Thanks for reaching out. It could be a couple things going on. Do you know if there is a NoData Value set? I don't see one in the gdalinfo response, so I'm not sure how QGIS knows what to mask. It's also possible there is a ColorMap involved as well. georaster-layer-for-leaflet doesn't do great with colormaps.
If you like, you can email the file to daniel.j.dufour@gmail.com and I can help debug further. Thank you!
p.s. looks like a cool image!
Hi there! I'm having an issue when loading a GeoTiff as explained in the README.md. I thought that I was doing something wrong so I also decided to try: Load GeoTIFF to check if I was making a mistake. The live example also behaves the same way. I do know that the GeoTIFF that I'm feeding the library is ok because I can open it with QGIS, here's a screenshot how it looks like:
In both the live example and my code I get:
I can provide the TIFF that actually produces this result. Here is some info from the
file
command:and some info from the
gdalinfo
command:I'm kind of surprised that QGIS is always able to correctly display the file without providing it any extra information. The code that I'm using to try to load the GeoTiff is:
which is almost the one shown in the README.md example (I played a bit with the
options
but with no success). Can this be a bug or am I doing something stupidly wrong? Any help/insights are highly appreciated! (as a side note I can't find a way to upload the original GeoTiff file to Github as an attachment to the issue, so if you need it just let me know).Thanks, Lucas.