From 9f4e6832c0eea40ca957b5374e47cb604f695754 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 4 Apr 2014 03:19:06 +0000 Subject: [PATCH] #2696: correct the doco that ST_NumInteriorRings no longer works with multipolygons since polys git-svn-id: http://svn.osgeo.org/postgis/trunk@12412 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_accessor.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/reference_accessor.xml b/doc/reference_accessor.xml index ed81cbf6c..5feb2d41f 100644 --- a/doc/reference_accessor.xml +++ b/doc/reference_accessor.xml @@ -1646,10 +1646,8 @@ POLYGON((-7 4.2,-7.1 5,-7.1 4.3,-7 4.2)))')); ST_NumInteriorRings - 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. + 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 @@ -1670,6 +1668,7 @@ POLYGON((-7 4.2,-7.1 5,-7.1 4.3,-7 4.2)))')); geometry. &sqlmm_compliant; SQL-MM 3: 8.2.5 + Changed: 2.0.0 - in prior versions it would return the number of interior rings for the first POLYGON in a MULTIPOLYGON. -- 2.40.0