-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
I discovered that when using the cellsToMultiPolygon
method, a SIGSEGV error can occur if there are duplicate indices in the input array. And this issue was addressed in a recent bug fix.
However, since the cellsToLinkedMultiPolygon method is designed to take a set as input, i think it would be beneficial to add a pre-processing step to ensure the input array has unique elements before calling h3Api.cellsToLinkedMultiPolygon.
Alternatively, there should be at least a comment in the code indicating that the input array must contain unique elements. Additionally, it would be helpful to specify an error code for the H3Exception, as it currently returns only 1.
It was really hard for me to find out the reason for the error 😭
Metadata
Metadata
Assignees
Labels
No labels