ST_NPoints — Return the number of points (vertexes) in a geometry.
integer ST_NPoints(
geometry g1)
;
Return the number of points in a geometry. Works for all geometries.
Prior to 1.3.4, this function crashes if used with geometries that contain CURVES. This is fixed in 1.3.4+ |
This function supports 3d and will not drop the z-index.
This method supports Circular Strings and Curves