From: Regina Obe Date: Sun, 19 Oct 2008 23:31:19 +0000 (+0000) Subject: typo in ST_Y definition. Also added common use-case example of ST_Centroid used... X-Git-Tag: 1.4.0b1~599 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec94a1d085d73d182709303ac92268719615288d;p=postgis typo in ST_Y definition. Also added common use-case example of ST_Centroid used with ST_X, ST_Y git-svn-id: http://svn.osgeo.org/postgis/trunk@3144 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_new.xml b/doc/reference_new.xml index 4659c5de5..88768273b 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -3393,6 +3393,12 @@ Line[ZB] with 2 points : Polygon[ZB] with 1 rings 1 (1 row) +SELECT ST_Y(ST_Centroid(ST_GeomFromEWKT('LINESTRING(1 2 3 4, 1 1 1 1)'))); + st_y +------ + 1.5 +(1 row) + @@ -3400,7 +3406,7 @@ Line[ZB] with 2 points : Polygon[ZB] with 1 rings See Also - , , , + , , , , @@ -3415,7 +3421,7 @@ Line[ZB] with 2 points : Polygon[ZB] with 1 rings - float ST_X + float ST_Y geometry a_point @@ -3461,6 +3467,13 @@ Line[ZB] with 2 points : Polygon[ZB] with 1 rings 2 (1 row) +SELECT ST_Y(ST_Centroid(ST_GeomFromEWKT('LINESTRING(1 2 3 4, 1 1 1 1)'))); + st_y +------ + 1.5 +(1 row) + + @@ -3468,7 +3481,7 @@ Line[ZB] with 2 points : Polygon[ZB] with 1 rings See Also - , , , + , , , ,