[postgis-commits] svn - r2941 - trunk/doc

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Sat Sep 6 12:12:58 PDT 2008


Author: robe
Date: 2008-09-06 12:12:58 -0700 (Sat, 06 Sep 2008)
New Revision: 2941

Modified:
   trunk/doc/reference_new.xml
Log:
change alias field names of st_contains examples

Modified: trunk/doc/reference_new.xml
===================================================================
--- trunk/doc/reference_new.xml	2008-09-06 19:02:42 UTC (rev 2940)
+++ trunk/doc/reference_new.xml	2008-09-06 19:12:58 UTC (rev 2941)
@@ -3438,23 +3438,23 @@
 		  <programlisting>
 	--a circle within a circle
 	SELECT ST_Contains(smallc,smallc) As smallinsmall,
-	ST_Contains(smallc, bigc) As smallinbig, 
-	ST_Contains(bigc,smallc) As biginsmall,
-	ST_Contains(ST_Union(smallc, bigc), bigc) as unioninbig,
-	ST_Contains(bigc, ST_Union(smallc, bigc)) as biginunion,
+	ST_Contains(smallc, bigc) As smallcontainsbig, 
+	ST_Contains(bigc,smallc) As bigcontainssmall,
+	ST_Contains(ST_Union(smallc, bigc), bigc) as unioncontainsbig,
+	ST_Contains(bigc, ST_Union(smallc, bigc)) as bigcontainsunion,
 	ST_Equals(bigc, ST_Union(smallc, bigc)) as bigisunion
 	FROM (SELECT ST_Buffer(ST_GeomFromText('POINT(1 2)'), 10) As smallc, 
 	ST_Buffer(ST_GeomFromText('POINT(1 2)'), 20) As bigc) As foo;
 	--Result
- smallinsmall | smallinbig | biginsmall | unioninbig | biginunion | bigisunion
---------------+------------+------------+------------+------------+------------
- t            | f          | t          | t          | t          | t
+ smallinsmall | smallcontainsbig | bigcontainssmall | unioncontainsbig | bigcontainsunion | bigisunion
+--------------+------------------+------------------+------------------+------------------+------------
+ t            | f                | t                | t                | t                | t
 		</programlisting>
 	  </refsection>
 	  
 	  <refsection>
 		<title>See Also</title>
-		<para><xref linkend="ST_Within"/></para>
+		<para><xref linkend="ST_Equals"/>,<xref linkend="ST_Within"/></para>
 	  </refsection>
 	</refentry>
     



More information about the postgis-commits mailing list