跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

ST_Distance

Introduction: Return the Euclidean distance between A and B

ST_Distance

Format: ST_Distance (A:geometry, B:geometry)

Return type: Double

SQL example:

SELECT ST_Distance(polygondf.countyshape, polygondf.countyshape)
FROM polygondf