[postgis-devel] Windowing Functions for Clustering

Paul Norman penorman at mac.com
Sat Dec 19 14:06:09 PST 2015


On 12/19/2015 9:23 AM, Paul Ramsey wrote:
> In general, do you like the window function approach?

Yes. Even though the syntax isn't perfect, I find it more natural for 
clustering functions, and allows much more powerful cases.

Looking at ST_ClusterWithin as an aggregate function, I see that it'd be 
very difficult to do a calculation like total population of a cluster.



More information about the postgis-devel mailing list