ST_IsPolygonCW doc clarifications
authorDaniel Baston <dbaston@gmail.com>
Mon, 20 Mar 2017 13:24:07 +0000 (13:24 +0000)
committerDaniel Baston <dbaston@gmail.com>
Mon, 20 Mar 2017 13:24:07 +0000 (13:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15340 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_accessor.xml

index 66ed9dcdb3dcd0a0a520329f353cdb13d5838e97..7083235fa6b5f35f451e66a0187d83d00c23d373 100644 (file)
@@ -901,13 +901,13 @@ FROM (SELECT ST_BuildArea(
                        <title>Description</title>
 
                        <para>
-                               Returns true for (Multi)Polygons that use a counter-clockwise 
+                               Returns true if all polygonal components of the input geometry use a counter-clockwise 
                                orientation for their exterior ring, and a clockwise direction 
                                for all interior rings.
                        </para>
 
                        <para>
-                               Returns true for all non-polygonal geometries.
+                               Returns true if the geometry has no polygonal components.
                        </para>
 
                        <note>
@@ -919,6 +919,13 @@ FROM (SELECT ST_BuildArea(
                                </para>
                        </note>
 
+                       <note>
+                               <para>
+                                       This function does not consider closed linestrings as polygons,
+                                       and does not check their orientation.
+                               </para>
+                       </note>
+
                        <para>&Z_support;</para>
                        <para>&M_support;</para>
 
@@ -963,13 +970,13 @@ FROM (SELECT ST_BuildArea(
                        <title>Description</title>
 
                        <para>
-                               Returns true for (Multi)Polygons that use a clockwise 
+                               Returns true if all polygonal components of the input geometry use a clockwise 
                                orientation for their exterior ring, and a counter-clockwise direction 
                                for all interior rings.
                        </para>
 
                        <para>
-                               Returns true for all non-polygonal geometries.
+                               Returns true if the geometry has no polygonal components.
                        </para>
 
                        <note>
@@ -981,6 +988,13 @@ FROM (SELECT ST_BuildArea(
                                </para>
                        </note>
 
+                       <note>
+                               <para>
+                                       This function does not consider closed linestrings as polygons,
+                                       and does not check their orientation.
+                               </para>
+                       </note>
+
                        <para>&Z_support;</para>
                        <para>&M_support;</para>
                </refsection>