[postgis-tickets] r14945 - Fix description for ST_NumInteriorRings

Sandro Santilli strk at kbt.io
Tue Jun 14 03:29:08 PDT 2016


Author: strk
Date: 2016-06-14 03:29:08 -0700 (Tue, 14 Jun 2016)
New Revision: 14945

Modified:
   trunk/doc/reference_accessor.xml
Log:
Fix description for ST_NumInteriorRings

Closes #3576

Modified: trunk/doc/reference_accessor.xml
===================================================================
--- trunk/doc/reference_accessor.xml	2016-06-14 05:33:49 UTC (rev 14944)
+++ trunk/doc/reference_accessor.xml	2016-06-14 10:29:08 UTC (rev 14945)
@@ -1777,8 +1777,7 @@
 	<refentry id="ST_NumInteriorRings">
 	  <refnamediv>
 		<refname>ST_NumInteriorRings</refname>
-		<refpurpose>Return the number of interior rings of the a polygon in
-			the geometry. This will work with POLYGON and return NULL for a MULTIPOLYGON type or any other type</refpurpose>
+		<refpurpose>Return the number of interior rings of a polygon geometry.</refpurpose>
 	  </refnamediv>
 
 	  <refsynopsisdiv>
@@ -1793,13 +1792,13 @@
 	  <refsection>
 		<title>Description</title>
 
-		<para>Return the number of interior rings of the first polygon in
-			the geometry. This will work with both POLYGON and MULTIPOLYGON types but only looks at the first polygon.
-			Return NULL if there is no polygon in the
-			geometry.</para>
+		<para>
+      Return the number of interior rings of a polygon geometry.
+			Return NULL if the geometry is not a polygon.
+    </para>
 
 		<para>&sqlmm_compliant; SQL-MM 3: 8.2.5</para>
-		<para>Changed: 2.0.0 - in prior versions it would return the number of interior rings for the first POLYGON in a MULTIPOLYGON.</para>
+		<para>Changed: 2.0.0 - in prior versions it would allow passing a MULTIPOLYGON, returning the number of interior rings of first POLYGON.</para>
 	  </refsection>
 
 	  <refsection>



More information about the postgis-tickets mailing list