CoordinateReferenceSystem

Luo_Suppe2026-08-15

gma.crs.CoordinateReferenceSystem

class CoordinateReferenceSystem(crs = "WGS84"):

Coordinate reference system object Coordinate system!

Optional:

crs = str||int||aclassofgmaCoordinateReferenceSystem. Default 'WGS84'.

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


Methods

copy

[method] .copy():

Clone crs. --> CoordinateReferenceSystem


get_proj_parms

[method] .get_proj_parms():

Get projection parameters.

Returns:

Type: dict.


plot

[method] .plot(ax = None, **kwargs):

Make area of use of the CoordinateReferenceSystem in world.

Optional:

ax = None||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_dict

[method] .to_dict():

Export projection to dict(json).

Returns:

Type: dict.


to_list

[method] .to_list(ctype = "PCI"):

Export projection to list.

Optional:

ctype = str. Default 'PCI'.

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

Returns:

Type: list.


to_str

[method] .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.


Property

WKID

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


angular_units

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


area_of_interest

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


area_of_use

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


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


Last Updated 8/15/2026, 8:42:21 AM