ST_NPoints¶
Introduction: Returns the number of points of the geometry
Format: ST_NPoints (A: Geometry)
Since: v1.3.0
Example:
SELECT ST_NPoints(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'))
Output:
4
Introduction: Returns the number of points of the geometry
Format: ST_NPoints (A: Geometry)
Since: v1.3.0
Example:
SELECT ST_NPoints(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'))
Output:
4