Return the length of a geometry.
Defined by
- length(point) = 0
- length(line) = length of line
- length(polygon) = 0 – could make sense to return sum(ring perimeter)
Uses Euclidean 3D/2D length depending on input dimensions.
- Parameters
-
- Note
- PostGIS function:
LWGEOM_length_linestring(PG_FUNCTION_ARGS)