jiayuasu opened a new issue, #3162: URL: https://github.com/apache/sedona/issues/3162
Part of #2230. ## Summary Implement the GeoPandas-compatible `GeoSeries.has_m` property and GeoDataFrame delegation by using Sedona's existing `ST_HasM` expression. The implementation must remain fully distributed. It must not call `to_geopandas()`, `collect()`, `toLocalIterator()`, or a Python row UDF. ## Requirements - Return a boolean Series with the same index as the input. - Match GeoPandas for XY, XYZ, XYM, and XYZM geometries. - Handle empty and null geometries consistently with GeoPandas. - Support access through both GeoSeries and GeoDataFrame. - Add API documentation and examples. ## Tests - Add direct tests covering dimensionality, empty geometries, nulls, index preservation, and GeoDataFrame delegation. - Add version-gated GeoPandas parity tests for environments where `has_m` is available. The existing Spark SQL function is sufficient; no JVM, Flink, Snowflake, or SQL wrapper changes should be necessary. -- 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]
