jiayuasu opened a new pull request, #3145: URL: https://github.com/apache/sedona/pull/3145
## What changed - Add `GeoSeries.scale` and active-geometry delegation from `GeoDataFrame`. - Build a distributed diagonal `ST_Affine` expression with per-row center or centroid origins. - Support numeric scale factors plus 2D/3D tuple and Shapely Point origins. - Preserve nulls, typed empty geometries, indexes, CRS, and SRID metadata. - Add direct regression tests and GeoPandas parity coverage across 2D and 3D geometry families. ## Why This implements #3143 without materializing geometries on the Spark driver. The existing scale functions do not provide both GeoPandas-compatible per-row origins and Z scaling, so the operation is expressed as an affine transform with offsets derived from each origin. ## Validation - `23 passed` in the focused GeoPandas scale test suite. - Repository checks pass for all four changed Python files. Closes #3143 -- 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]
