[Lizmap] lizmap plugin on QGIS server to evaluate a default

René-Luc D'Hont rldhont at gmail.com
Sat Dec 18 02:44:00 PST 2021


Hi Giovanni,

The lizmap plugin cannot evaluate `$area` as a default value because when
the lizmap form is generated the geometry has not been drawn yet.

Regards,
René-Luc

Le ven. 17 déc. 2021 à 22:02, Giovanni Manghi <giovanni.manghi at gmail.com> a
écrit :

> Hi all,
>
> one question: can the LM plugin on the server be used to evaluate
> expressions like "$area" for a default value in the context of a form while
> digitizing a new feature?
>
> I made a quick test and it does not seem to work, while the plugin seems
> to work as it can evaluate "now()" for a default as it also works for
> constraints.
>
> Thanks in advance
>
> -- G --
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20211218/6966edb6/attachment.html>


More information about the Lizmap mailing list