[postgis-users] St_Expands

Paul & Caroline Lewis paulcaz80 at hotmail.com
Fri Jun 4 06:46:03 PDT 2010


Hi All,

    I need to generate a bounding box geometry around a point and St_Expands seem to be heading in the right direction. However, I need to create it to different dimensions in each axis. Currently, as I understand it ST_Expands(point_geom, 10) will return me a bounding box extended 10 geometry units in the x, y and z axis. I would like to be able to do ST_Expands(point_geom, 10, 8, 6) where it extends 10 units in X, 8 in Y and 6 in Z. Can anyone recommend how this might be done with the current PostGIS 1.5 functions toolset, I cannot thing of one at present, otherwise can anyone point me in the right direction to a tutorial on how I might extend this function from scratch in the current source code and re-compile it locally.

 

Thanks in advance,

 

Paul
 		 	   		  
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100604/1d0c2109/attachment.html>


More information about the postgis-users mailing list