[QGIS-Developer] Python example with aggregate calculation

Neumann, Andreas a.neumann at carto.net
Fri May 5 05:31:36 PDT 2017


Hi, 

Does someone have an example how to use QgsVectorLayer.aggregate() from
Python? 

How would the syntax for the parameters in the
QgsAggregateCalculator.calculate() method look like in Python? 

Thanks, 

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


More information about the QGIS-Developer mailing list