ST_NUMPOINTS

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Returns the number of points in a GEOGRAPHY or GEOGRAPHY object.

Syntax

ST_NPOINTS( <geography_or_geometry_expression> )

Parameters

NameRequiredDescription
geography_or_geometry_expressionrequiredThe argument must be an expression of type GEOGRAPHY or GEOMETRY.

Returns

Returns a value of type INTEGER.

Usage notes