spherely.perimeter#
- spherely.perimeter(geography, /, radius=spherely.EARTH_RADIUS_METERS)#
Calculates the perimeter of a polygon 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: