[postgis-users] Re: problem with BOX3D query

Randy George rkgeorge at cadmaps.com
Tue May 9 06:52:19 PDT 2006


Hi,

	It looks like the pdf manual p21 4.4.1 should be updated to synch
with the html manual.

Thanks
Randy

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
strk at refractions.net
Sent: Tuesday, May 09, 2006 2:07 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Re: problem with BOX3D query

On Mon, May 08, 2006 at 06:14:43PM -0300, Eduardo Luís Garcia Escovar wrote:
> From the PostGIS manual:
> 
> GeomFromText(text,[<srid>])
> 
>    Makes a Geometry from WKT with the given SRID.
> 
>    OGC SPEC 3.2.6.2 - option SRID is from the conformance suite
> 
> 
> Is 'BOX3D(-111.80 33.30,-111.75 33.35)'::box3d a valid WKT?

No, it's not. It was supported by previous PostGIS versions,
but since 1.0.0 it is not more possible to use it as
an argument to OGC input functions. A cast from BOX3D to
GEOMETRY is still present, so you pass that construct
to any function taking GEOMETRY, as it will be automatically
converted to a Polygon type.

--strk;
_______________________________________________
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