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

ST_Length2D

Introduction: Returns the perimeter of A. This function is an alias of ST_Length.

Warning

This function only supports LineString, MultiLineString, and GeometryCollections containing linear geometries. Use ST_Perimeter for polygons.

ST_Length2D

Format: ST_Length2D (A:geometry)

Return type: Double

SQL example:

SELECT ST_Length2D(polygondf.countyshape)
FROM polygondf