MobilityDB 1.3
Loading...
Searching...
No Matches

◆ geom_length()

double geom_length ( const GSERIALIZED gs)

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
[in]gsGeometry
Note
PostGIS function: LWGEOM_length_linestring(PG_FUNCTION_ARGS)