spherely.area

Contents

spherely.area#

spherely.area(geography, /, radius=spherely.EARTH_RADIUS_METERS)#

Calculate the area of the geography.

Parameters:
  • geography (Geography or array_like) – Geography object(s).

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

Returns:

float or array – Area value(s), in square meters.