ST_NPoints — 返回几何体中的点(顶点)数。
integer ST_NPoints(
geometry g1)
;
返回几何图形中的点数。适用于所有几何体。
增强:引入了对多面体曲面的2.0.0支持。
![]() | |
在1.3.4之前的版本中,如果与包含曲线的几何体一起使用,此函数会崩溃。这在1.3.4+中已修复 |
This function supports 3d and will not drop the z-index.
This method supports Circular Strings and Curves
This function supports Polyhedral surfaces.