[postgis-tickets] r15340 - ST_IsPolygonCW doc clarifications

Daniel Baston dbaston at gmail.com
Mon Mar 20 06:24:07 PDT 2017


Author: dbaston
Date: 2017-03-20 06:24:07 -0700 (Mon, 20 Mar 2017)
New Revision: 15340

Modified:
   trunk/doc/reference_accessor.xml
Log:
ST_IsPolygonCW doc clarifications

Modified: trunk/doc/reference_accessor.xml
===================================================================
--- trunk/doc/reference_accessor.xml	2017-03-18 11:59:23 UTC (rev 15339)
+++ trunk/doc/reference_accessor.xml	2017-03-20 13:24:07 UTC (rev 15340)
@@ -901,13 +901,13 @@
 			<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 @@
 				</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 @@
 			<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 @@
 				</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>



More information about the postgis-tickets mailing list