You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "ThomasDekeyser (via GitHub)" <gi...@apache.org> on 2026/05/04 13:50:11 UTC
[PR] [GH-2901]: Fix ST_BestSRID logic for Geometries near the poles [sedona]
ThomasDekeyser opened a new pull request, #2902:
URL: https://github.com/apache/sedona/pull/2902
Reason: used Spheriod.angularWidth() and Spheroid.angularHeight() methods did not return a value in degrees.
## Did you read the Contributor Guide?
- Yes, I have read the [Contributor Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor Development Guide](https://sedona.apache.org/latest/community/develop/)
## Is this PR related to a ticket?
- Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #<GH-2901>
## What changes were proposed in this PR?
Fix existing methods Spheroid.angularWidth() and Spheroid.angularHeight() to return a value in degrees.
## How was this patch tested?
`SpheroidTest`
- a straight line from north to south pole should return 180° in Spheroid.angularHeight()
- a straight line from -90° Lon to +90° Lon over the equator should return 180° in Spheroid.angularWidth()
`FunctionsTest`
- BestSRID for a line near south pole
-
## Did this PR include necessary documentation updates?
- No, this PR does not affect any public API so no need to change the documentation.
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GH-2901]: Fix ST_BestSRID logic for Geometries near the poles [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu commented on PR #2902:
URL: https://github.com/apache/sedona/pull/2902#issuecomment-4376587621
@prantogg take a look please?
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GH-2901]: Fix ST_BestSRID logic for Geometries near the poles [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu commented on PR #2902:
URL: https://github.com/apache/sedona/pull/2902#issuecomment-4372449016
@ThomasDekeyser thanks. Please fix spotless by running `mvn spotless:apply`
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [GH-2901]: Fix ST_BestSRID logic for Geometries near the poles [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu merged PR #2902:
URL: https://github.com/apache/sedona/pull/2902
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org