Hi,

> I recall a discussion on gitter about adding a serial expression but not
> sure it's implemented.
> A workaround could be using maximum("field") + 1

The solution from the Gitter discussion

aggregate( 'layername','max',"id")+1

We need of course a more user friendly way to allow users have
incremental/serial ids in their shapefiles...


Cheers!

-- G --
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to