[postgis-devel] SummaryStats

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Tue Mar 6 13:48:48 PST 2012


What if you do (ST_SummaryStats(rast)).*


> -----Original Message-----
> From: postgis-devel-bounces at postgis.refractions.net [mailto:postgis-devel-
> bounces at postgis.refractions.net] On Behalf Of Paul Ramsey
> Sent: Tuesday, March 06, 2012 4:47 PM
> To: PostGIS Development Discussion
> Subject: [postgis-devel] SummaryStats
> 
> Raster seems to be full of these composite types, which are nice enough for
> returning stuff, but I have a problem with the canonical forms. Why is
> SummaryStats so anonymous?
> 
> (65364,210241.004791319,3.21646479394345,,0,38.9035530090332)
> 
> Why not something with tags so I can see what these things are?
> 
> [sum=65364, min=210241.004791319, max=, etc]
> 
> Could even go the JSON route.
> 
> P.
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list