From 349bc901b4d61a4964b9b9af3653f9e802a1b00f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 20 Apr 2005 10:21:50 +0000 Subject: [PATCH] Fixed bogus example of GeometryFromText(box3d, int) changing it to SetSRID(box3d, int) in chapter 5.1.2 git-svn-id: http://svn.osgeo.org/postgis/trunk@1654 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/postgis.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/postgis.xml b/doc/postgis.xml index c06930eff..5cfbbf19e 100644 --- a/doc/postgis.xml +++ b/doc/postgis.xml @@ -1518,7 +1518,7 @@ WHERE AsText(GEOM) AS GEOM FROM ROADS_GEOM WHERE - GEOM && GeomFromText('BOX3D(191232 243117,191232 243119)'::box3d,-1); + GEOM && SetSRID('BOX3D(191232 243117,191232 243119)'::box3d,-1); Note the use of the SRID, to specify the projection of the BOX3D. The value -1 is used to indicate no specified SRID. -- 2.50.0