[Lizmap] Problems with lizmap 'zoom extent' in EPSG 4326 with raster layers

Francisco Corredera corredera at geocobet.com
Mon Jun 20 00:28:21 PDT 2022


Hi

First of all, thanks to 3Liz and the specific team that Lizmap leads for
this solution that allows us to bring our QGIS projects to the Web with
remarkable reliability, fluidity and consistency.

Unfortunately, we have a problem that we have been working on for a few
weeks and still without a definitive and 100% satisfactory solution.

When publishing one of our projects with Qgis Server + Lizmap, we have
verified that the Lizmap web map viewer 'zoom extent' command does not work
well with raster layers when the QGIS project's CRS is set to geographic
'WGS84' (EPSG 4326 ) or 'ETRS89' (EPSG 4258). On the contrary, 'zoom
extent' does work correctly for these raster layers if the CRS of the
project in QGIS is set to 'WGS 84/Pseudo-Mercator' (EPSG 3857). For this
reason, we have had to publish the project in this latter coordinate
system, so that users can use the 'zoom extent'.
We have a problem: We should be able to work with raster layers and
coordinates in EPSG 4326 in the lizmap viewer, and we don't understand why
this is not possible.

I am attaching one of the raster layers so that someone can test what I am
commenting on: put that layer in a project with EPSG 4326, publish it in
their lizmap map viewer and confirm if the 'zoom extent' also fails.

The problem may be in the raster layers that we are using, so please ask
someone to do the test with one of those layers. Or maybe the problem is in
another aspect of our configuration. But if the same problem is presented
to other users, other options should be evaluated in Qgis Server/Lizmap
itself.

I hope someone can help us at least understand the possible cause of this
problem. Thank you very much in any case for attending us.

Regards!
 raster.nc
<https://drive.google.com/file/d/1yLIDW1WKRyvUXC0eY9bk0lvBACalYc5l/view?usp=drive_web>
 raster.nc.aux.xml
<https://drive.google.com/file/d/1GeTWKrIBr4HyvpVPXkVj_L8IGWy8fW5U/view?usp=drive_web>

-- 
Saludos
--

Francisco Corredera Quesada

Topografía, Cartografía y Estudios Geográficos



 (+34)  928 80 87 42 | 616 44 79 11

www.geocobet.com | corredera at geocobet.com

C/ La Sotileza, 18, 2D.Arrecife-35500.

Lanzarote, Canarias, España.


*Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
puede contener información de carácter confidencial exclusivamente dirigida
a su(s) destinatario(s). Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización del remitente. Si ha
recibido por error este correo, por favor proceda a su eliminación,
notificándolo si es tan amable a info at geocobet.com <info at geocobet.com> |
+34 928 808 742, para que podamos analizar por qué ha sucedido y tomar las
medidas de corrección oportunas. Gracias por su colaboración.*

Q Antes de imprimir en un soporte físico, papel... este mensaje, asegúrese
de que es necesario. Proteger el medio ambiente está también en su mano.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220620/365df5b0/attachment.htm>


More information about the Lizmap mailing list