]> granicus.if.org Git - postgis/commitdiff
revise to update st_PointN support for curves
authorRegina Obe <lr@pcorp.us>
Fri, 3 Jul 2009 07:24:34 +0000 (07:24 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 3 Jul 2009 07:24:34 +0000 (07:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/1.4@4256 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference.xml

index 2f54a2eef920aebbfb27690a949ca268e539080e..1b7e40b545ae0933567498c4330f07c1fcdf60c3 100644 (file)
@@ -4746,6 +4746,13 @@ GROUP BY gid, field1,field2;
                          <imagedata fileref="images/check.png" />
                        </imageobject>
                  </inlinemediaobject> This function supports 3d and will not drop the z-index.</para>
+                 
+                 <!-- Optionally mention Circular String Support -->
+           <para><inlinemediaobject>
+               <imageobject>
+                 <imagedata fileref="images/check.png" />
+               </imageobject>
+             </inlinemediaobject> This method supports Circular Strings and Curves </para>
          </refsection>
 
 
@@ -4765,7 +4772,15 @@ FROM ( VALUES ('LINESTRING(0 0, 1 1, 2 2)'::geometry) ) AS foo;
  POINT(0 0)
  POINT(1 1)
  POINT(2 2)
-(3 rows)</programlisting>
+(3 rows)
+
+--Example circular string
+SELECT ST_AsText(ST_PointN(ST_GeomFromText('CIRCULARSTRING(1 2, 3 2, 1 2)'),2));
+
+st_astext
+----------
+POINT(3 2)
+</programlisting>
          </refsection>
 
          <refsection>