]> granicus.if.org Git - postgis/commitdiff
Document ST_Split
authorSandro Santilli <strk@keybit.net>
Tue, 16 Mar 2010 13:14:46 +0000 (13:14 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 16 Mar 2010 13:14:46 +0000 (13:14 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5440 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_processing.xml

index d3091531f4dcfaf2c472b4066d0970200b0849b7..e1d73590452b85e71d531a6a42c59a862f65312e 100644 (file)
@@ -1863,4 +1863,41 @@ MULTILINESTRING((3 4,4 5),(1 2,3 4))
                <para><xref linkend="ST_Collect" /></para>
          </refsection>
        </refentry>
+
+<refentry id="ST_Split">
+  <refnamediv>
+       <refname>ST_Split</refname>
+       <refpurpose>Returns a collection of geometries resulting by splitting a geometry.</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+       <funcsynopsis>
+         <funcprototype>
+               <funcdef>geometry <function>ST_Split</function></funcdef>
+               <paramdef><type>input geometry</type> <parameter>blade geometry</parameter></paramdef>
+         </funcprototype>
+       </funcsynopsis>
+  </refsynopsisdiv>
+
+  <refsection>
+       <title>Description</title>
+<para>
+The function supports splitting a line by point, a line by line, a polygon by line. The returned geometry is always a collection.
+</para>
+
+<para>
+Think of this function as the opposite of ST_Union.
+Theoretically applying ST_Union to the elements of the returned collection
+should always yeld the original geometry.
+</para>
+
+<para>Availability: 2.0.0</para>
+
+         </refsection>
+
+         <refsection>
+               <title>See Also</title>
+               <para><xref linkend="ST_Union" /></para>
+         </refsection>
+       </refentry>
 </sect1>