[GIS] Cannot export raster with qgis2web or qgis2leaf

qgis2leafqgis2web

I am trying to publish a raster layer with qgis2web, when I set the parameters in the popup qgis2web window, the raster doesn´t show up in the preview window (there is a question mark instead). Then, after exporting/publishing, the folder with index.html file and other folders are created, but there is nothing inside the data folder, and the raster does not show on the index.html page.
A similar thing happens if trying with qgis2leaf.
Any idea of what might been wrong?
The raster is a 3 band composite RGB from Sentinel2 bands, saved as rendered raster, projection EPSG:4326.QGIS Version is 2.18.
Raster link: https://www.dropbox.com/s/l1dvxzq37oe10yp/7%20rendered.tif?dl=0

Best Answer

It looks like there was a regression in qgis2web for OpenLayers 3 raster layers. I've committed a fix to the Github master branch at https://github.com/tomchadwin/qgis2web. Please try that and leave a comment to this answer to say whether it fixes the problem or not.

Related Question