cartopy.mpl.geoaxes.InterProjectionTransform#
- class cartopy.mpl.geoaxes.InterProjectionTransform(source_projection, target_projection)[source]#
Transform coordinates from the source_projection to the
target_projection
.- has_inverse = True#
True if this transform has a corresponding inverse transform.
- input_dims = 2#
The number of input dimensions of this transform. Must be overridden (with integers) in the subclass.
- inverted()[source]#
- Returns:
InterProjectionTransform – A Matplotlib
Transform
from target to source coordinates.
- is_separable = False#
True if this transform is separable in the x- and y- dimensions.
- output_dims = 2#
The number of output dimensions of this transform. Must be overridden (with integers) in the subclass.
- transform_non_affine(xy)[source]#
Transform from source to target coordinates.
- Parameters:
xy – An (n,2) array of points in source coordinates.
- Returns:
x, y – An (n,2) array of transformed points in target coordinates.