On Thu, Sep 21, 2006 at 06:26:37PM -0700, Curtis W. Ruck wrote: > SELECT convexhull(collect(the_geom)), category, count(*) FROM tblName GROUP BY category; > > convexhull isn't an aggregate function so it can't work in this context. Works here, just as AsText(collect(the_geom)) would. What happened when you tried it? -- Michael Fuhr