[postgis-users] GeometryFromText and box3D

Gustavo Henrique Sberze Ribas gribas at cpqd.com.br
Tue Jul 12 04:44:47 PDT 2005


Hello,

> 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 ?

 Try using just 'BOX3D($aCoords[0] $aCoords[1],$aCoords[2] $aCoords[3])'::box3d
or box3d('BOX3D($aCoords[0] $aCoords[1],$aCoords[2] $aCoords[3])');

--
Gustavo



More information about the postgis-users mailing list