[QGIS-Developer] Initialization of virtual fields

Andreas Neumann a.neumann at carto.net
Mon Oct 23 00:43:26 PDT 2017


Hi, 

I have a virtual field that shows the length of the geometry of a
feature. It is an important attribute for us in this project, as we are
dealing with river networks and need to know the length as soon as
possible, because other manual attribute fields depend on this value. 

When I create a new feature, I frist create the geometry and the the
attribute form is opened. However, despite the fact that the geometry
already exists, the virtual field still doesn't display the length of
the geometry. It only updates when I close the form and then reopen it. 

Is there something we could do about this problem that virtual fields
could be calculated / initialized earlier? 

Thanks, 

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171023/eb5da493/attachment.html>


More information about the QGIS-Developer mailing list