jiayuasu opened a new pull request, #963: URL: https://github.com/apache/sedona/pull/963
## 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-356. The PR name follows the format `[SEDONA-356] my subject`. ## What changes were proposed in this PR? ### Public APIs: 1. SpatialRDD.CRStransform uses lon/lat. It was in lat/lon order. 2. ST_Transform uses lon/lat. It was in lat/lon order. 3. CRS transformation is in lenient mode by default. It was in strict mode. 4. Add the flipCoordinates API to Sedona Spark Python RDD. 5. Raster constructors use lon/lat. It was in lat/lon order. ### Internal APIs: Centralize the implementation of CRS transformation to almost one place. ### TODO In another PR, add one more public ST_Transform API `ST_Transform(geom, targetCRScode)` which retrieves the source SRID from geometry itself. ## How was this patch tested? Passed all updated tests ## Did this PR include necessary documentation updates? - Yes, I have updated the documentation update. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
