jiayuasu opened a new issue, #3156: URL: https://github.com/apache/sedona/issues/3156
Part of #2230. Implement `GeoSeries.get_coordinates(include_z=False, ignore_index=False, index_parts=False, *, include_m=False)` with GeoPandas-compatible behavior. Requirements: - Execute fully in Spark using Sedona geometry expressions; do not collect geometries to the driver and do not use a Python UDF. - Return a distributed pandas-on-Spark DataFrame with `x` and `y` columns, plus optional `z` and `m` columns. - Preserve flattened vertex order across all supported geometry families. - Represent missing optional ordinates consistently with GeoPandas. - Preserve the original index by default. - When `index_parts=True`, return a two-level index containing the original index and zero-based coordinate position. - When `ignore_index=True`, return a new distributed sequential index. - Match GeoPandas behavior for empty geometries and null values. Add focused parity tests for geometry families, Z and M coordinates, mixed dimensionality, empty and null inputs, named and multi-level indexes, all index modes, and ordering. Add the public API documentation required for a new GeoPandas-compatible method. -- 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]
