ST_NRings — 返回多边形几何体中的环形数。
integer
ST_NRings
(
geometry
geomA
)
;
如果几何体是一个多边形或多个多边形,则返回环形数。与NumInteriorRings不同,它也计算外环。
This function supports 3d and will not drop the z-index.
This method supports Circular Strings and Curves