]> granicus.if.org Git - postgis/commitdiff
Fixed bogus example of GeometryFromText(box3d, int) changing it
authorSandro Santilli <strk@keybit.net>
Wed, 20 Apr 2005 10:27:07 +0000 (10:27 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 20 Apr 2005 10:27:07 +0000 (10:27 +0000)
to SetSRID(box3d, int) in chapter 5.1.2

git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1655 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index c06930effbb331edf447a0c71a9f424df74d7ca8..5cfbbf19e62216d870b7afcb0d27018643d4197c 100644 (file)
@@ -1518,7 +1518,7 @@ WHERE
   AsText(GEOM) AS GEOM 
 FROM ROADS_GEOM 
 WHERE 
-  GEOM &amp;&amp; GeomFromText('BOX3D(191232 243117,191232 243119)'::box3d,-1);</programlisting>
+  GEOM &amp;&amp; SetSRID('BOX3D(191232 243117,191232 243119)'::box3d,-1);</programlisting>
 
         <para>Note the use of the SRID, to specify the projection of the
         BOX3D. The value -1 is used to indicate no specified SRID.</para>