[Lizmap] Option for bad alyers

Paolo Cavallini cavallini at faunalia.it
Mon Jan 25 22:03:13 PST 2021


Merci Etienne.

Il 26/01/21 04:51, Etienne Trimaille ha scritto:
> Hi Paolo, it's indeed not a Lizmap config, but QGIS Server only.
> 
> If you are not using py-qgis-server, it's QGIS_SERVER_IGNORE_BAD_LAYERS.
> https://docs.qgis.org/3.16/en/docs/server_manual/config.html#environment-variables
> <https://docs.qgis.org/3.16/en/docs/server_manual/config.html#environment-variables>
> 
> Le mar. 26 janv. 2021 à 00:21, Paolo Cavallini <cavallini at faunalia.it
> <mailto:cavallini at faunalia.it>> a écrit :
> 
>     perfect, merci
> 
>     Il 25/01/21 18:03, David Marteau ha scritto:
>     > Hi Paolo,
>     >
>     > This is  an option that you can enable/disable:
>     >
>     > You may set the env variable QGSRV_CACHE_STRICT_CHECK=no or use the
>     > 'strict_check=no' in the '[projects.cache]' section of the config
>     file.
>     >
>     > Cf
>     >
>     https://py-qgis-server.readthedocs.io/en/latest/configuration.html#cache-strict-check
>     <https://py-qgis-server.readthedocs.io/en/latest/configuration.html#cache-strict-check>.
>     >
>     >
>     > David
>     >
>     > Le 25/01/2021 à 17:54, Paolo Cavallini a écrit :
>     >> Hi all,
>     >> current LM/qgis-server versions do not serve a project in case
>     >=1 layer
>     >> is not available. In production this is OK, but for debugging it
>     makes
>     >> things more difficult, as one has to guess which is the layer causing
>     >> trouble.
>     >> I remember there is an option to show the project without the missing
>     >> layer, but I cannot find it in the docs: can anybody point me there?
>     >> Thanks in advance.
>     > _______________________________________________
>     > Lizmap mailing list
>     > Lizmap at lists.osgeo.org <mailto:Lizmap at lists.osgeo.org>
>     > https://lists.osgeo.org/mailman/listinfo/lizmap
>     <https://lists.osgeo.org/mailman/listinfo/lizmap>
> 
>     -- 
>     Paolo Cavallini
>     www.faunalia.eu <http://www.faunalia.eu> - QGIS.org
>     training, support, development on QGIS, PostGIS and more
>     _______________________________________________
>     Lizmap mailing list
>     Lizmap at lists.osgeo.org <mailto:Lizmap at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/lizmap
>     <https://lists.osgeo.org/mailman/listinfo/lizmap>
> 
> 
> 
> -- 
> 
> Etienne Trimaille
> Ingénieur géomaticien
> www.3liz.com <http://www.3liz.com>
> 
> WhatsApp uniquement le matin +33 6 12 93 11 39 <https://wa.me/0033612931139>
> 
> 
> *Siège social*
> 73, allée Kleber
> Boulevard de Strasbourg
> 34000 Montpellier
> 

-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more


More information about the Lizmap mailing list