]> granicus.if.org Git - postgis/commitdiff
#2696: correct the doco that ST_NumInteriorRings no longer works with multipolygons...
authorRegina Obe <lr@pcorp.us>
Fri, 4 Apr 2014 03:19:06 +0000 (03:19 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 4 Apr 2014 03:19:06 +0000 (03:19 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12412 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_accessor.xml

index ed81cbf6c9271cb9332871abf16c5a6daf8bd5ee..5feb2d41f57e8f8102acb1e5e04ebbb5c5651ecd 100644 (file)
@@ -1646,10 +1646,8 @@ POLYGON((-7 4.2,-7.1 5,-7.1 4.3,-7 4.2)))'));
        <refentry id="ST_NumInteriorRings">
          <refnamediv>
                <refname>ST_NumInteriorRings</refname>
-               <refpurpose>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.</refpurpose>
+               <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>
          </refnamediv>
 
          <refsynopsisdiv>
@@ -1670,6 +1668,7 @@ POLYGON((-7 4.2,-7.1 5,-7.1 4.3,-7 4.2)))'));
                        geometry.</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>
          </refsection>
 
          <refsection>