From 08eab555a40a077dcb1d7dae2d0625fe56774b68 Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Mon, 25 Mar 2024 15:58:16 +0100 Subject: [PATCH] If there is a NAN value, set it to 0,0,0,0, still have a UI warning --- lizmap/plugin.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lizmap/plugin.py b/lizmap/plugin.py index 2a62c6b0..5dcbbfee 100755 --- a/lizmap/plugin.py +++ b/lizmap/plugin.py @@ -3737,10 +3737,12 @@ def project_config_file( ) + '\n\n' + tr( 'Then in the "Source" tab, you can recompute the extent or check your logs in QGIS.' + ) + '\n\n' + + tr( + 'The extent has been set to a default value 0,0,0,0.' ) ) - else: - layer_options['extent'] = [0, 0, 0, 0] + layer_options['extent'] = [0, 0, 0, 0] layer_options['crs'] = layer.crs().authid() # styles