From: Regina Obe Date: Mon, 24 Nov 2008 13:18:09 +0000 (+0000) Subject: Fix indentation for estimated_extent example. Document ST_Force_Collection broken... X-Git-Tag: 1.4.0b1~482 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5332b3702a4cb746d74cdceb45068b934b8232ee;p=postgis Fix indentation for estimated_extent example. Document ST_Force_Collection broken when given Circular strings for versions prior to 1.3.4 git-svn-id: http://svn.osgeo.org/postgis/trunk@3326 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_new.xml b/doc/reference_new.xml index 1421e15b0..25bde7b91 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -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 Converts the geometry into a GEOMETRYCOLLECTION. This is useful for simplifying the WKB representation. - + Availability: 1.2.2, prior to 1.3.4 this function will crash with Curves. This is fixed in 1.3.4+ This function supports 3d and will not drop the z-index. + + + + + + + This method supports Circular Strings and Curves @@ -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) @@ -11044,12 +11057,12 @@ all_em|grabone | grab_rest Examples 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)