From: Kevin Neufeld Date: Sun, 24 Aug 2008 04:54:33 +0000 (+0000) Subject: moved ST_StartPoint and ST_EndPoint to new reference_new.xml X-Git-Tag: 1.4.0b1~773 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f05bc3d8a3a51903999171026d8eb63034bfd41f;p=postgis moved ST_StartPoint and ST_EndPoint to new reference_new.xml git-svn-id: http://svn.osgeo.org/postgis/trunk@2930 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index fa25f65eb..124f1f670 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -376,7 +376,7 @@ ST_Dimension - + ST_PointN(geometry,nth integer) @@ -460,24 +460,6 @@ GROUP BY gid, field1,field2; - - ST_EndPoint(geometry) - - - Returns the last point of the LineString geometry as a - point. - - - - - ST_StartPoint(geometry) - - - Returns the first point of the LineString geometry as a - point. - - - GeometryType(geometry) @@ -1972,17 +1954,6 @@ WHERE n*100.00/length < 1; - - ST_EndPoint - - - Return an ST_Point value that is the end point of an ST_Curve - value. - - SQL-MM 3: 7.1.4 - - - ST_ExteriorRing @@ -2324,17 +2295,6 @@ WHERE n*100.00/length < 1; - - ST_StartPoint - - - Return an ST_Point value that is the start point of an - ST_Curve value. - - SQL-MM 3: 7.1.3 - - - ST_SymDifference diff --git a/doc/reference_new.xml b/doc/reference_new.xml index 981cef2d1..2318a1634 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -1683,6 +1683,64 @@ POINT(1 2) Geometry Accessors + + + + ST_EndPoint + + Returns the last point of a LINESTRING + geometry as a POINT. + + + + + + boolean ST_EndPoint + + geometry g + + + + + + Description + + Returns the last point of a LINESTRING geometry + as a POINT or NULL if the input + parameter is not a LINESTRING. + + + + + + This method implements the SQL/MM specification: + SQL-MM 3: 7.1.4 + + + + Examples + + postgis=# SELECT ST_AsText(ST_EndPoint('LINESTRING(1 1, 2 2, 3 3)'::geometry)); + st_astext +------------ + POINT(3 3) +(1 row) + +postgis=# SELECT ST_EndPoint('POINT(1 1)'::geometry) IS NULL AS is_null; + is_null +---------- + t +(1 row) + + + + See Also + + , + + + ST_Envelope @@ -1909,6 +1967,7 @@ POINT(1 2) + ST_SRID @@ -1962,6 +2021,63 @@ POINT(1 2) , , + + + + ST_StartPoint + + Returns the first point of a LINESTRING + geometry as a POINT. + + + + + + boolean ST_StartPoint + + geometry g + + + + + + Description + + Returns the first point of a LINESTRING geometry + as a POINT or NULL if the input + parameter is not a LINESTRING. + + + + + + This method implements the SQL/MM specification: + SQL-MM 3: 7.1.3 + + + + Examples + + postgis=# SELECT ST_AsText(ST_StartPoint('LINESTRING(0 1, 0 2)'::geometry)); + st_astext +------------ + POINT(0 1) +(1 row) + +postgis=# SELECT ST_StartPoint('POINT(0 1)'::geometry) IS NULL AS is_null; + is_null +---------- + t +(1 row) + + + + See Also + + , + + +