spherely.length#
- spherely.length(geography, /, radius=spherely.EARTH_RADIUS_METERS)#
Calculates the length of a line geography, returning zero for other types.
- Parameters:
geography (
Geography
or array_like) – Geography object(s).radius (
float
, optional) – Radius of Earth in meters, default 6,371,010.
- Returns: