asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yaming Zhang (Jira)" <j...@apache.org>
Subject [jira] [Updated] (ASTERIXDB-2711) st_n_rings() function in geometry module
Date Tue, 07 Apr 2020 03:34:00 GMT

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yaming Zhang updated ASTERIXDB-2711:
------------------------------------
          Component/s: FUN - Functions
    Affects Version/s: 0.9.4.1

> 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
>          Components: FUN - Functions
>    Affects Versions: 0.9.4.1
>            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)

Mime
View raw message