cartopy.crs.RotatedGeodetic#
- class cartopy.crs.RotatedGeodetic(pole_longitude, pole_latitude, central_rotated_longitude=0.0, globe=None)[source]#
 Define a rotated latitude/longitude coordinate system with spherical topology and geographical distance.
Coordinates are measured in degrees.
The class uses proj to perform an ob_tran operation, using the pole_longitude to set a lon_0 then performing two rotations based on pole_latitude and central_rotated_longitude. This is equivalent to setting the new pole to a location defined by the pole_latitude and pole_longitude values in the GeogCRS defined by globe, then rotating this new CRS about it’s pole using the central_rotated_longitude value.
- __init__(pole_longitude, pole_latitude, central_rotated_longitude=0.0, globe=None)[source]#
 - Parameters:
 pole_longitude – Pole longitude position, in unrotated degrees.
pole_latitude – Pole latitude position, in unrotated degrees.
central_rotated_longitude (optional) – Longitude rotation about the new pole, in degrees. Defaults to 0.
globe (optional) – A
cartopy.crs.Globe. Defaults to a “WGS84” datum.
Methods
__init__(pole_longitude, pole_latitude[, ...])- param pole_longitude:
 Pole longitude position, in unrotated degrees.
as_geocentric()Return a new Geocentric CRS with the same ellipse/datum as this CRS.
as_geodetic()Return a new Geodetic CRS with the same ellipse/datum as this CRS.
cs_to_cf()New in version 3.0.0.
equals(other[, ignore_axis_order])New in version 2.5.0.
from_authority(auth_name, code)New in version 2.2.0.
from_cf(in_cf[, ellipsoidal_cs, ...])New in version 2.2.0.
from_dict(proj_dict)New in version 2.2.0.
from_epsg(code)Make a CRS from an EPSG code
from_json(crs_json)New in version 2.4.0.
from_json_dict(crs_dict)New in version 2.4.0.
from_proj4(in_proj_string)New in version 2.2.0.
from_string(in_crs_string)Make a CRS from:
from_user_input(value, **kwargs)Initialize a CRS class instance with:
from_wkt(in_wkt_string)New in version 2.2.0.
get_geod()- returns:
 pyproj.geod.Geod -- Geod object based on the ellipsoid.
is_exact_same(other)Check if the CRS objects are the exact same.
is_geodetic()list_authority([auth_name, min_confidence])New in version 3.2.0.
to_3d([name])New in version 3.1.0.
to_authority([auth_name, min_confidence])New in version 2.2.0.
to_cf([wkt_version, errcheck])New in version 2.2.0.
to_dict()New in version 2.2.0.
to_epsg([min_confidence])Return the EPSG code best matching the CRS or None if it a match is not found.
to_json([pretty, indentation])New in version 2.4.0.
to_json_dict()New in version 2.4.0.
to_proj4([version])Convert the projection to a PROJ string.
to_string()New in version 2.2.0.
to_wkt([version, pretty])Convert the projection to a WKT string.
transform_point(x, y, src_crs)Transform the given float64 coordinate pair, in the given source coordinate system (
src_crs), to this coordinate system.transform_points(src_crs, x, y[, z])Transform the given coordinates, in the given source coordinate system (
src_crs), to this coordinate system.transform_vectors(src_proj, x, y, u, v)Transform the given vector components, with coordinates in the given source coordinate system (
src_proj), to this coordinate system.Attributes
area_of_usereturns: AreaOfUse -- The area of use object with associated attributes.
axis_infoRetrieves all relevant axis information in the CRS.
coordinate_operationNew in version 2.2.0.
coordinate_systemNew in version 2.2.0.
datumNew in version 2.2.0.
ellipsoidNew in version 2.2.0.
geodetic_crsNew in version 2.2.0.
is_boundreturns: bool -- True if CRS is bound.
is_compoundNew in version 3.1.0.
is_derivedNew in version 3.2.0.
is_engineeringNew in version 2.2.0.
is_geocentricThis checks if the CRS is geocentric and takes into account if the CRS is bound.
is_geographicThis checks if the CRS is geographic.
is_projectedThis checks if the CRS is projected.
is_verticalNew in version 2.2.0.
namereturns: str -- The name of the CRS (from
proj_get_name()).prime_meridianNew in version 2.2.0.
proj4_paramsremarksNew in version 2.4.0.
scopeNew in version 2.4.0.
source_crsThe base CRS of a BoundCRS or a DerivedCRS/ProjectedCRS, or the source CRS of a CoordinateOperation.
sub_crs_listIf the CRS is a compound CRS, it will return a list of sub CRS objects.
target_crsNew in version 2.2.0.
type_namereturns: str -- The name of the type of the CRS object.
utm_zoneNew in version 2.6.0.