Skip to main content
Returns the number of points (vertices) in a geography object. ST_NPoints on a global polyline with 4 vertices

Signatures

Parameters

Geography
required
The geography whose vertices are counted.

Return type

The number of vertices in the geography.

Example