[Qgis-developer] have aggregate/window expressions ever been discussed?

G. Allegri giohappy at gmail.com
Fri May 23 10:34:16 PDT 2014


Recently I had to calculate the relative dimension of a polygon relative to
the others of the same class. I know there are a lot of way to do it,
inside and outside QGIS, but I wondered if field calculator (and
expressions in general) couls be extended to accompish this kind of tasks.

The approach would be something similar WINDOW functions in Postgresql [1],
where for each record a new value will be calculated on the basis of other
records (filtered or not).

Has this ever been discussed? Is it something that could fit QGIS
expressions?

giovanni

[1] http://www.postgresql.org/docs/9.1/static/tutorial-window.html

-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140523/fa5728ca/attachment.html>


More information about the Qgis-developer mailing list