Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.4.1
-
None
-
None
Description
st_n_rings() function returns the number of rings of polygons and multipolygons. When I insert a multipolygon into the dataset and use the function, there is an exception, saying "geometryN: n out of range [IllegalArgumentException]".
The Exception is thrown by Esri API. What we need to modify is at line 49, Class STNRingsDescriptor. I think we need to modify the scale of for loop to from 0 to numGeometries rather than from 1 to numGeometries + 1.
Thanks.