CoordinateReferenceSystem

Luo_Suppe2026-11-20

gma.crs.CoordinateReferenceSystem

[class] CoordinateReferenceSystem(crs = "WGS84"):

Coordinate system!

Optional:

crs = str. Default 'WGS84'.

Coordinate system. Can be EPSG, WKT, Proj4 and other types of coordinate characters, or a CoordinateReferenceSystem object.

Method

copy()

Clone crs. --> CoordinateReferenceSystem

get_proj_parms()

Get projection parameters.

Returns:

Type: dict.

plot(ax = None)

Make area of use of the CoordinateReferenceSystem in world.

Optional:

ax = None or matplotlib.~.AxesSubplot. Default None.

A matplotlib subplot. If None, a default axes will be created.

**kwargs:

Other plotting parameters of CoordinateReferenceSystem's geometry. For more, see:

~.carto.utils.PolyCollection.

Returns:

Type: matplotlib.~.AxesSubplot.

to_str(ctype = "Wkt")

Export projection to string.

Optional:

ctype = str. Default 'Wkt'.

Export format. Can be 'MICoordSys', 'PrettyWkt',

'Proj4', 'Wkt', 'XML'.

Returns:

Type: str.

to_list(ctype = "PCI")

Export projection to list.

Optional:

ctype = str. Default 'PCI'.

Export format. Can be 'PCI', 'USGS'.

Returns:

Type: list.

to_dict()

Export projection to dict(json).

Returns:

Type: dict.

Property

angular_units

Angular units. --> tuple(float, str)

area_of_use

Get the area where the coordinate system is used. --> tuple(West, South, East, North in degree).

area_of_interest

The area of use's geometry of the crs in WGS84. --> Geometry.

axes_count

Number of coordinate axes. --> int

central_longitude

Get the longitude of the central meridian. --> float

change_longitude

Date Line --> float

datum_name

Datum name. --> str

gcs

Get projection parameters. --> CoordinateReferenceSystem

inv_flattening

Inverse flattening. --> float

linear_units

Linear units and name. --> tuple(float, str).

name

Name of the coordinate system. --> str

planet

The planet of the coordinate system. --> str

primem

The prime meridian and name. --> tuple(float, str)

proj_method

The project method name. --> str

radius

Ellipsoid radius. --> float

semi_major

Semi-major axis. --> float

semi_minor

Semi-minor axis. --> float

spheroid_name

Spheroid name. --> str

type

Space Reference Type. --> str

WKID

Well-known ID Code and name. --> tuple(float, str)

Last Updated 11/21/2026, 2:33:17 AM