lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

[Bug]: Server tile cache leads to measurement and edition errors

Open ppetru opened this issue 2 years ago • 0 comments

What is the bug?

My project uses a raster base layer. When enabling the server tile cache for that layer, the Lizmap measurement tool produces ridiculously large values (e.g. hundreds of km instead of <5m) and editing any feature attribute causes them to be teleported far away even if the geometry was not modified by the user.

Steps to reproduce the issue

  1. Go to Lizmap QGIS plugin -> layers -> my raster base layer
  2. Disable 'Single tile' and enable 'Server tile cache'
  3. Save the project and load Lizmap
  4. Measure any distance and note result being 5-6 orders of magnitude wrong
  5. Edit the attributes (but not geometry) of a feature from another layer. Note that the feature is teleported far away -- its geometry also got modified and is now very close to the center of the CRS coordinates (using EPSG 3763).

Versions

Versions :

  • Lizmap Web Client : 3.5.5
  • Lizmap plugin : 3.9.0
  • QGIS Desktop : 3.26.1
  • QGIS Server : 3.26.1
  • QGIS Server plugin atlasprint : not found
  • QGIS Server plugin lizmap_server : 1.1.1
  • QGIS Server plugin wfsOutputExtension : not found

Check Lizmap plugin

  • [X] I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

QGIS server version, only if the section above doesn't mention the QGIS Server version

No response

Operating system

Desktop: Windows 10, server: Debian bullseye

Browsers

Chrome

Browsers version

Chrome 104

Relevant log output

No response

ppetru avatar Aug 15 '22 07:08 ppetru