Name

ST_3DLength_Spheroid — Calculates the length of a geometry on an ellipsoid, taking the elevation into account. This is just an alias for ST_Length_Spheroid.

Synopsis

float ST_3DLength_Spheroid(geometry a_linestring, spheroid a_spheroid);

Description

Calculates the length of a geometry on an ellipsoid, taking the elevation into account. This is just an alias for ST_Length_Spheroid.

[Note]

Changed: 2.0.0 In prior versions this used to return 0 for anything that is not a MULTILINESTRING or LINESTRING and in 2.0.0 on returns the perimeter of if given a polgon.

[Note]

This function is just an alias for ST_Length_Spheroid.

This function supports 3d and will not drop the z-index.

Changed: 2.0.0 In prior versions this used to be called ST_Length3d_Spheroid

Examples

See ST_Length_Spheroid

See Also

ST_GeometryN, ST_Length, ST_Length_Spheroid