<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>
----------------------------------------------------------------------------------
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>
<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>