<refsection>
<title>Description</title>
- <para>GEOMETRY is a fundamental postgis spatial data type used to represent a feature in the Euclidean coordinate system.</para>
+ <para>geometry is a fundamental postgis spatial data type used to represent a feature in the Euclidean coordinate system.</para>
</refsection>
<refsection>
<para><xref linkend="RefObject" /></para>
</refsection>
</refentry>
+
+ <refentry id="geometry_dump">
+ <refnamediv>
+ <refname>geometry_dump</refname>
+ <refpurpose>A spatial datatype with two fields - geom (holding a geometry object)
+ and path[] (a 1-d array holding the position of the geometry within the dumped object.)</refpurpose>
+ </refnamediv>
+
+ <refsection>
+ <title>Description</title>
+ <para>geometry_dump is a compound data type consisting of a geometry object referenced by the .geom field
+ and path[] a 1-dimensional integer array (starting at 1 e.g. path[1] to get first element) array that defines the navigation path within the dumped geometry to find this element.
+ It is used by the ST_Dump* family of functions as an output type to explode a more complex geometry into its
+ constituent parts and location of parts.</para>
+ </refsection>
+ <refsection>
+ <title>See Also</title>
+ <para><xref linkend="PostGIS_Geometry_DumpFunctions" /></para>
+ </refsection>
+ </refentry>
<refentry id="geography">
<refnamediv>
</xsl:for-each>\r
</itemizedlist>\r
</sect1>\r
+ \r
+ <sect1 id="PostGIS_Geometry_DumpFunctions">\r
+ <title>PostGIS Geometry Dump Functions</title>\r
+ <para>The functions given below are PostGIS functions that take as input or return as output a set of or single <link linkend="PostGIS_Geometry_Dump">geometry_dump</link> data type object.</para>\r
+ <itemizedlist>\r
+ <!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment -->\r
+ <xsl:for-each select='sect1/refentry'>\r
+ <xsl:sort select="@id"/>\r
+ <xsl:variable name='comment'>\r
+ <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'
', ' '), '	', ' '))"/>\r
+ </xsl:variable>\r
+ <xsl:variable name="refid">\r
+ <xsl:value-of select="@id" />\r
+ </xsl:variable>\r
+ <xsl:variable name="refname">\r
+ <xsl:value-of select="refnamediv/refname" />\r
+ </xsl:variable>\r
+\r
+ <!-- If at least one proto function accepts or returns a geography -->\r
+ <xsl:choose>\r
+ <xsl:when test="contains(refsynopsisdiv/funcsynopsis,'geometry_dump') or contains(refsynopsisdiv/funcsynopsis/funcprototype/funcdef,'geometry_dump')">\r
+ <listitem><link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="$comment" /></listitem>\r
+ </xsl:when>\r
+ </xsl:choose>\r
+ </xsl:for-each>\r
+ </itemizedlist>\r
+ </sect1>\r
\r
<sect1 id="PostGIS_3D_Functions">\r
<title>PostGIS Functions that support 3D</title>\r