You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Yaming Zhang (Jira)" <ji...@apache.org> on 2020/04/07 03:33:00 UTC
[jira] [Updated] (ASTERIXDB-2711) st_n_rings() function in geometry
module
[ https://issues.apache.org/jira/browse/ASTERIXDB-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yaming Zhang updated ASTERIXDB-2711:
------------------------------------
Component/s: (was: FUN - Functions)
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.
was: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]".
> st_n_rings() function in geometry module
> ----------------------------------------
>
> Key: ASTERIXDB-2711
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2711
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Yaming Zhang
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)