ProjectedCoordinateSystem
gma.crs.ProjectedCoordinateSystem
class ProjectedCoordinateSystem(name = "GMA PCS", linear_unit = "metre", proj_method = "AlbersConicEqualArea", gcs = "WGS84"):
projected coordinate system Create a projected coordinate system!
Optional:
name = str. Default 'GMA PCS'.
name of the new projected coordinate system.
linear_unit = float||str. Default 'metre'.
Linear unit value. See more default linear units: LinearUnits class! If you need to customize the linear unit, you can enter a real number.
proj_method = aclassofadefaultprojectionmethod||str(classname). Default 'AlbersConicEqualArea'.
Projection method. If it is the name of a projection method class, it will refer to the default projection parameters of the projection method. See more projection method class: projection module!
gcs = str||int||CoordinateReferenceSystem. Default 'WGS84'.
Geographic coordinate system in the projected coordinate system. Can be EPSG, WKT, Proj4, and other types of coordinate characters or a 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