cartopy.crs.Globe#

class cartopy.crs.Globe(datum=None, ellipse='WGS84', semimajor_axis=None, semiminor_axis=None, flattening=None, inverse_flattening=None, towgs84=None, nadgrids=None)[source]#

Bases: object

Define an ellipsoid and, optionally, how to relate it to the real world.

Parameters:
  • datum – Proj “datum” definition. Defaults to None.

  • ellipse – Proj “ellps” definition. Defaults to ‘WGS84’.

  • semimajor_axis – Semimajor axis of the spheroid / ellipsoid. Defaults to None.

  • semiminor_axis – Semiminor axis of the ellipsoid. Defaults to None.

  • flattening – Flattening of the ellipsoid. Defaults to None.

  • inverse_flattening – Inverse flattening of the ellipsoid. Defaults to None.

  • towgs84 – Passed through to the Proj definition. Defaults to None.

  • nadgrids – Passed through to the Proj definition. Defaults to None.

to_proj4_params()[source]#

Create an OrderedDict of key value pairs which represents this globe in terms of proj params.