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

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Sun Sep 7 02:07:08 PDT 2008


Author: robe
Date: 2008-09-07 02:07:08 -0700 (Sun, 07 Sep 2008)
New Revision: 2943

Modified:
   trunk/doc/reference_new.xml
Log:
Provide example of ST_SetPoint

Modified: trunk/doc/reference_new.xml
===================================================================
--- trunk/doc/reference_new.xml	2008-09-07 08:43:29 UTC (rev 2942)
+++ trunk/doc/reference_new.xml	2008-09-07 09:07:08 UTC (rev 2943)
@@ -2466,7 +2466,11 @@
 		  <refsection>
 			<title>Examples</title>	
 			<programlisting>
-<!-- TODO: Provide ST_SetPoint Example -->
+--Change second point in line string from -1 3 to -1 1
+SELECT ST_AsText(ST_SetPoint('LINESTRING(-1 2,-1 3)', 1, 'POINT(-1 1)'));
+       st_astext
+-----------------------
+ LINESTRING(-1 2,-1 1)
 			</programlisting>
 		  </refsection>
 		  <refsection>



More information about the postgis-commits mailing list