prantogg opened a new pull request, #1251:
URL: https://github.com/apache/sedona/pull/1251
## Did you read the Contributor Guide?
- Yes, I have read [Contributor
Rules](https://sedona.apache.org/latest-snapshot/community/rule/) and
[Contributor Development
Guide](https://sedona.apache.org/latest-snapshot/community/develop/)
## Is this PR related to a JIRA ticket?
- Yes, the URL of the associated JIRA ticket is
https://issues.apache.org/jira/browse/SEDONA-498. The PR name follows the
format `[SEDONA-XXX] my subject`.
## What changes were proposed in this PR?
This PR adds Spheroidal support for `ST_Buffer`. Functions as follows,
- Uses `ST_BestSRID` to determine the optimal SRID based on the geometry's
extent and location.
- Transforms the geometry to the selected SRID for buffering, defaulting to
WGS 84 (SRID 4326) if no SRID is set.
- Applies standard planar buffer operation in the chosen coordinate system.
- Transforms the buffered geometry back to its original SRID, or to WGS 84
if the original SRID was not set.
- Behaves similar to PostGIS's `ST_Buffer(Geography)`.
## How was this patch tested?
- Passes new and existing tests
## Did this PR include necessary documentation updates?
- Yes, I am adding a new API. I am using the [current SNAPSHOT version
number](https://github.com/apache/sedona/blob/99239524f17389fc4ae9548ea88756f8ea538bb9/pom.xml#L29)
in since `vX.Y.Z` format.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscr...@sedona.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org