prantogg opened a new pull request, #1259: URL: https://github.com/apache/sedona/pull/1259
## 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-508. The PR name follows the format `[SEDONA-XXX] my subject`. ## What changes were proposed in this PR? Introduces a predicate function, `ST_CrossesDateLine` to determines if a given geometry crosses the International Date Line. - Checks if the difference in longitude between any pair of consecutive points in the geometry exceeds 180 degrees. If so, returns `true`, else `false`. - For multi-geometries (e.g., MultiPolygon, MultiLineString), this function will return true if any one of the geometries within the multi-geometry crosses the International Date Line. ## 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