From: Sandro Santilli Date: Tue, 13 Dec 2005 12:51:00 +0000 (+0000) Subject: Moved out of LRS section: line_locate_point back (to Misc), X-Git-Tag: pgis_1_1_0~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=278c553a0cc04175c408149ab487ccf4b90ccefe;p=postgis Moved out of LRS section: line_locate_point back (to Misc), line_substring and line_interpolate_point (to Geometry constructors). Added more cross-references. git-svn-id: http://svn.osgeo.org/postgis/trunk@2169 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/postgis.xml b/doc/postgis.xml index 2315fc563..79d94fc85 100644 --- a/doc/postgis.xml +++ b/doc/postgis.xml @@ -3520,7 +3520,7 @@ dimension - + StartPoint(geometry) @@ -4253,7 +4253,7 @@ dimension - + length2d(geometry) @@ -4452,6 +4452,30 @@ FROM geometry_table; + + line_interpolate_point(linestring, location) + + + + 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 + 2d length the point has + to be located. + + + + See line_locate_point() + for computing the line location nearest to a Point. + + + + Availability: 0.8.2 + + + + + MakeBox2D(<LL>, <UR>) @@ -4494,6 +4518,29 @@ FROM geometry_table; + + line_substring(linestring, start, end) + + + + 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. + + + + See line_locate_point() + for computing the line location nearest to a Point. + + + + Availability: 1.1.0 + + + + + + MakePolygon(linestring, [linestring[]]) @@ -4836,49 +4883,6 @@ FROM geometry_table; - - line_interpolate_point(linestring, proportion) - - - Interpolates a point along a line. First argument must be a - LINESTRING. Second argument is a float between 0 and 1. Returns a - point. - - Availability: 0.8.2 - - - - - - - line_substring(linestring, start, end) - - - - 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. - - - Availability: 1.1.0 - - - - - - line_locate_point(linestring, point) - - - - Returns a float, representing the proportional distance the - point is located along the line. - - - Availability: 1.1.0 - - - - locate_along_measure(geometry, float8) @@ -5089,6 +5093,25 @@ FROM geometry_table; + + line_locate_point(LineString, Point) + + + 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 2d line length. + + + + You can use the returned location to extract a Point (line_interpolate_point) or a substring (line_substring). + + + + Availability: 1.1.0 + + +