ST_ENDPOINT

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Returns the last Point in a LineString.

Syntax

ST_ENDPOINT( <geography_or_geometry_expression> )

Parameters

NameRequiredDescription
geography_or_geometry_expressionrequiredThe argument must be an expression of type GEOGRAPHY or GEOMETRY that represents a LineString.

Returns

The function returns a value of type GEOGRAPHY or GEOMETRY that contains the last Point of the specified LineString.

Usage notes

See also

Referenced by