ST_NPoints

Introduction: Return points of the geometry

ST_NPoints

Format: ST_NPoints (A: Geometry)

Return type: Integer

Since: v1.0.0

SQL 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