You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Furqaan Khan (Jira)" <ji...@apache.org> on 2024/11/07 18:17:00 UTC
[jira] [Created] (SEDONA-672) Bug fix for ST_LengthSpheroid
Furqaan Khan created SEDONA-672:
-----------------------------------
Summary: Bug fix for ST_LengthSpheroid
Key: SEDONA-672
URL: https://issues.apache.org/jira/browse/SEDONA-672
Project: Apache Sedona
Issue Type: New Feature
Reporter: Furqaan Khan
ST_LengthSpheroid didn't consider Polygons with holes (interior rings). This bug fix addresses that issue.
Eg:
WKT:
```
POLYGON((-122.33 47.61, -122.32 47.62, -122.31 47.61, -122.30 47.62, -122.29 47.61, -122.30 47.60, -122.31 47.59, -122.32 47.60, -122.33 47.61), (-122.315 47.605, -122.305 47.615, -122.295 47.605, -122.305 47.595, -122.315 47.605))
```
old output: `17363.913692009628`
output after changes: `16106.506409488933`
--
This message was sent by Atlassian Jira
(v8.20.10#820010)