<title>Geometry Accessors</title>
<variablelist>
- <varlistentry>
+ <varlistentry id="ST_SRID">
<term>ST_SRID(geometry)</term>
<listitem>
<title>Geometry Constructors</title>
<variablelist>
- <varlistentry>
+ <varlistentry id="ST_GeomFromText">
<term>ST_GeomFromText(text)</term>
<term>ST_GeomFromText(text,srid integer)</term>
<title>Geometry Constructors</title>
<variablelist>
- <varlistentry>
+ <varlistentry id="ST_GeomFromEWKT">
<term>ST_GeomFromEWKT(text)</term>
<listitem>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry id="ST_GeomFromEWKB">
<term>ST_GeomFromEWKB(bytea)</term>
<listitem>
into Geometry Collections. Unfortunately geometry collections are
not well-supported by GIS tools. To prevent ST_Collect from
returning a Geometry Collection when collecting MULTI geometries,
- one can use the below trick that utilizes ST_Dump to expand the
+ one can use the below trick that utilizes <xref linkend="ST_Dump" /> to expand the
MULTIs out to singles and then regroup them.</para>
<programlisting>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry id="ST_Dump">
<term>ST_Dump(geometry)</term>
<listitem>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry id="ST_LineMerge">
<term>ST_LineMerge(geometry)</term>
<listitem>
</listitem>
</varlistentry>
- <varlistentry id="Accum">
+ <varlistentry id="ST_Accum">
<term>ST_Accum(geometry set)</term>
<listitem>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry id="ST_IsClosed">
<term>ST_IsClosed</term>
<listitem>
<para>Throws an error if WKT is not a MULTILINESTRING. Forces
MULTIPOLYGON output even when result is really only composed by a
single POLYGON; use <link
- linkend="BdPolyFromText">BdPolyFromText</link> if you're sure a
+ linkend="ST_BdPolyFromText">ST_BdPolyFromText</link> if you're sure a
single POLYGON will result from operation, or see <link
- linkend="BuildArea">BuildArea()</link> for a postgis-specific
+ linkend="ST_BuildArea">ST_BuildArea()</link> for a postgis-specific
approach.</para>
</note>
holes. You can construct a geometry array using ST_Accum or the PostgreSQL ARRAY[] and
ARRAY() constructs. Input geometries must be closed LINESTRINGS.</para>
<note>
- <para>This function will not accept a MULTILINESTRING. Use ST_LineMerge or ST_Dump to generate line strings.</para>
+ <para>This function will not accept a MULTILINESTRING. Use <xref linkend="ST_LineMerge" /> or <xref linkend="ST_Dump" /> to generate line strings.</para>
</note>
</refsection>
</refsection>
<refsection>
<title>See Also</title>
- <para><xref linkend="ST_Accum" />, <xref linkend="ST_AddPoint" />, <xref linkend="ST_GeometryType" />, <xref linkend="ST_IsClose" />, <xref linkend="ST_LineMerge" /></para>
+ <para><xref linkend="ST_Accum" />, <xref linkend="ST_AddPoint" />, <xref linkend="ST_GeometryType" />, <xref linkend="ST_IsClosed" />, <xref linkend="ST_LineMerge" /></para>
</refsection>
</refentry>
</sect1>
WKT format does not maintain precision so to prevent floating truncation, use ST_AsBinary or ST_AsEWKB format for transport.
</para>
<note>
- <para>ST_AsEWKT is the reverse of ST_GeomFromEWKT. Use ST_GeomFromEWKT to convert to a postgis geometry from ST_AsEWKT representation.</para>
+ <para>ST_AsEWKT is the reverse of <xref linkend="ST_GeomFromEWKT" />. Use <xref linkend="ST_GeomFromEWKT" /> to convert to a postgis geometry from ST_AsEWKT representation.</para>
</note>
</refsection>
<note>
<para>The WKT spec does not include the SRID. To get the SRID as part of the data, use the non-standard
- PostGIS ST_AsEWKT()</para>
+ PostGIS <xref linkend="ST_AsEWKT" /></para>
</note>
<para><inlinegraphic class="sfs_compliant" fileref="images/warning.png" />
WKT format does not maintain precision so to prevent floating truncation, use ST_AsBinary or ST_AsEWKB format for transport.
</para>
<note>
- <para>ST_AsText is the reverse of ST_GeomFromText. Use ST_GeomFromText to convert to a postgis geometry from ST_AsText representation.</para>
+ <para>ST_AsText is the reverse of <xref linkend="ST_GeomFromText" />. Use <xref linkend="ST_GeomFromText" /> to convert to a postgis geometry from ST_AsText representation.</para>
</note>
<!-- Optionally mention OpenGIS compliancy if appropriate -->