spherely.perimeter

Contents

spherely.perimeter#

spherely.perimeter(a: Geography | array_like, radius: numpy.ndarray[numpy.float64] = 6371010.0) object#

Calculates the perimeter of a polygon geography, returning zero for other types.

Parameters:
  • a (Geography or array_like) – Geography object

  • radius (float, optional) – Radius of Earth in meters, default 6,371,010