[postgis-users] Maximum z-Coordinate

Andy Anderson aanderson at amherst.edu
Mon Jun 9 07:18:15 PDT 2008


Use ST_ZMax(box3d) on the set of multipolygons.

-- Andy

On Jun 9, 2008, at 8:17 AM, Max wrote:

> Hello,
>
> i'm using postgis to store 3D multipolygons and i want to get the the
> maximum z-corrdinate of a set of multipolygons. Right now i first  
> create
> a set of polygons which contains the polygon from all multipolygons,
> then i create a set of points from the polygons and at the end i loop
> through the points to calc the maximum, but i think this way is  
> slow, so
> i want to know if there is an other way, f.e. is there a way in  
> postgis
> to extract all points from the multipolygons with one function.
>
> Hope someone can help me.
>
> thank you in advance
>
> best regards
> max
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list