[postgis-users] Polygon covering points?

Mark Leslie mark.leslie at lisasoft.com
Wed Oct 17 21:06:26 PDT 2007


Webb Sprague wrote:
> On 10/17/07, Anton A. Patrushev <anton at orkney.co.jp> wrote:
>> Convex hull?
> 
> I can't find a convex_hull that takes a SET of points.  Pointers?
> 
> or_gis=# \df *convex*
>                         List of functions
>  Schema |     Name      | Result data type | Argument data types
> --------+---------------+------------------+---------------------
>  public | convexhull    | geometry         | geometry
>  public | st_convexhull | geometry         | geometry
> (2 rows)
> 
> Thanks though
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 

Try, ST_ConvexHull(ST_Collect(geometry set))

-- 
Mark Leslie
Software Architect
LISAsoft Pty Ltd
www.lisasoft.com



More information about the postgis-users mailing list