]> granicus.if.org Git - postgis/commitdiff
Fix indentation for estimated_extent example. Document ST_Force_Collection broken...
authorRegina Obe <lr@pcorp.us>
Mon, 24 Nov 2008 13:18:09 +0000 (13:18 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 24 Nov 2008 13:18:09 +0000 (13:18 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3326 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_new.xml

index 1421e15b0d8ca9fe0e8b97d9a1b852403e88c2fd..25bde7b91edc53acb38ea250483813021e070fa9 100644 (file)
@@ -4797,13 +4797,20 @@ SELECT  ST_AsEWKT(ST_Force_4D('MULTILINESTRINGM((0 0 1,0 5 2,5 0 3,0 0 4),(1 1 1
                <para>Converts the geometry into a GEOMETRYCOLLECTION. This is
             useful for simplifying the WKB representation.</para>
        
-
+               <para>Availability: 1.2.2, prior to 1.3.4 this function will crash with Curves.  This is fixed in 1.3.4+</para>
                <!-- Optionally mention 3d support -->
            <para><inlinemediaobject>
                <imageobject>
                  <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>
          
        
@@ -4818,6 +4825,12 @@ SELECT  ST_AsEWKT(ST_Force_Collection('POLYGON((0 0 1,0 5 1,5 0 1,0 0 1),(1 1 1,
 ----------------------------------------------------------------------------------
  GEOMETRYCOLLECTION(POLYGON((0 0 1,0 5 1,5 0 1,0 0 1),(1 1 1,3 1 1,1 3 1,1 1 1)))
 
+  SELECT ST_AsText(ST_Force_Collection('CIRCULARSTRING(220227 150406,2220227 150407,220227 150406)'));
+                                   st_astext                                    
+--------------------------------------------------------------------------------
+ GEOMETRYCOLLECTION(CIRCULARSTRING(220227 150406,2220227 150407,220227 150406))
+(1 row)
 
                </programlisting>
          </refsection>
@@ -11044,12 +11057,12 @@ all_em|grabone   | grab_rest
                <title>Examples</title>
        
                <programlisting>SELECT ST_Estimated_extent('ny', 'edges', 'the_geom');
-               --result--
-               BOX(-8877653 4912316,-8010225.5 5589284)
-               
-               SELECT ST_Estimated_Extent('feature_poly', 'the_geom');
-               --result--
-               BOX(-124.659652709961 24.6830825805664,-67.7798080444336 49.0012092590332)
+--result--
+BOX(-8877653 4912316,-8010225.5 5589284)
+
+SELECT ST_Estimated_Extent('feature_poly', 'the_geom');
+--result--
+BOX(-124.659652709961 24.6830825805664,-67.7798080444336 49.0012092590332)
                </programlisting>
          </refsection>