customization of popup/idenitfy dialog for rasters
Lizmap 3.3.8
Not sure this is a bug of a feature request, also unsure if the right place to file this ticket was the LM plugin tracker.
In Lizmap plugin a user can activate the "popup" for raster layers, choose "lizmap" as source and proceed to the customization. But there do not seems to be a way to get the raster value as one would do for vector attributes (at least I can't find any reference in docs). In general seems that this configuration is completely ignored in LMWC.
So... if it is not supposed to work I guess that the customization dialog in LM plugin should be disabled for raster layers, in this case this ticket could also serve as feature request for LMWC.
If someone from the LWC team can tell us if it was supported for raster.
Does it work using the auto mode @gioman ?
If it was really supported, it's clearly missing which variable to use to refer to band 1, band 2 etc ...
The plugin is missing a few lines of codes to disable options which are vector only such as :
- copy drag/drop form
- having QGIS popup available
- ....

https://github.com/3liz/lizmap-plugin/issues/278
Does it work using the
automode @gioman ?
@Gustry it works, it show a very simple (as expected) pop up with the raster value.
It would be very nice to be able to style the popup also for rasters, and even nicer would be to be able to apply some function to this value like "round" (as QGIS Server always returns a large number of decimals for float rasters).
It might be better with QGIS >= 3.36 thanks to https://github.com/qgis/QGIS/pull/55680 and https://github.com/qgis/QGIS/pull/50854