Skip to contents

Returns the length of the input line geometry.

Usage

ST_Length(geom)

Arguments

geom

GEOMETRY

Value

DOUBLE

Overloads

  • ST_Length(geom = GEOMETRY)

  • ST_Length(linestring = LINESTRING_2D)

Provided by

The spatial extension (LOAD spatial;).