</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry id="StartPoint">
<term>StartPoint(geometry)</term>
<listitem>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry id="length2d">
<term>length2d(geometry)</term>
<listitem>
</listitem>
</varlistentry>
+ <varlistentry id="line_interpolate_point">
+ <term>line_interpolate_point(linestring, location)</term>
+
+ <listitem>
+ <para>
+ Interpolates a point along a line. First argument must be a
+ LINESTRING. Second argument is a float8 between 0 and 1
+ representing fraction of total
+ <link linkend="length2d">2d length</link> the point has
+ to be located.
+ </para>
+
+ <para>
+ See <link linkend="line_locate_point">line_locate_point()</link>
+ for computing the line location nearest to a Point.
+ </para>
+
+ <para>
+ Availability: 0.8.2
+ </para>
+ </listitem>
+ </varlistentry>
+
+
<varlistentry>
<term>MakeBox2D(<LL>, <UR>)</term>
</listitem>
</varlistentry>
+ <varlistentry id="line_substring">
+ <term>line_substring(linestring, start, end)</term>
+
+ <listitem>
+ <para>
+ Return a linestring being a substring of the input one starting
+ and ending at the given fractions of total 2d length. Second
+ and third arguments are float8 values between 0 and 1.
+ </para>
+
+ <para>
+ See <link linkend="line_locate_point">line_locate_point()</link>
+ for computing the line location nearest to a Point.
+ </para>
+
+ <para>
+ Availability: 1.1.0
+ </para>
+ </listitem>
+ </varlistentry>
+
+
+
<varlistentry>
<term>MakePolygon(linestring, [linestring[]])</term>
<listitem>
<variablelist>
- <varlistentry>
- <term>line_interpolate_point(linestring, proportion)</term>
-
- <listitem>
- <para>Interpolates a point along a line. First argument must be a
- LINESTRING. Second argument is a float between 0 and 1. Returns a
- point.</para>
- <para>
- Availability: 0.8.2
- </para>
- </listitem>
- </varlistentry>
-
-
- <varlistentry>
- <term>line_substring(linestring, start, end)</term>
-
- <listitem>
- <para>
- Return a linestring being a substring of the input one starting
- and ending at the given fractions of total length. Second
- and third arguments are float8 values between 0 and 1.
- </para>
- <para>
- Availability: 1.1.0
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>line_locate_point(linestring, point)</term>
-
- <listitem>
- <para>
- Returns a float, representing the proportional distance the
- point is located along the line.
- </para>
- <para>
- Availability: 1.1.0
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry>
<term>locate_along_measure(geometry, float8)</term>
</listitem>
</varlistentry>
+ <varlistentry id="line_locate_point">
+ <term>line_locate_point(LineString, Point)</term>
+ <listitem>
+ <para>
+ Returns a float between 0 and 1 representing
+ the location of the closest point on LineString
+ to the given Point, as a fraction of
+ total <link linkend="length2d">2d line</link> length.
+ </para>
+
+ <para>
+ You can use the returned location to extract a Point (<link linkend="line_interpolate_point">line_interpolate_point</link>) or a substring (<link linkend="line_substring">line_substring</link>).
+ </para>
+
+ <para>
+ Availability: 1.1.0
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</sect2>