Skip to main content
Return points of the geometry ST_NPoints

Signatures

ST_NPoints (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

An integer value.

Example

SELECT ST_NPoints(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'))
4