[postgis-users] GeometryFromText and box3D

strk at refractions.net strk at refractions.net
Tue Jul 12 05:15:16 PDT 2005


On Mon, Jul 11, 2005 at 03:51:03PM +0200, Guillaume Sueur wrote:
> Hi,
> I used to write GeometryFromText('BOX3D($aCoords[0] 
> $aCoords[1],$aCoords[2] $aCoords[3])'::box3d,-1)
> to retreive a layer on a specific extent. Since I have upgraded PostGis 
> to last windows binaries, it crashes.
> Is there a new way to specify that ?

This should work with all versions:
SetSRID('BOX3D...'::box3d, -1)

--strk;



More information about the postgis-users mailing list