cartopy.trace.project_linear#
- cartopy.trace.project_linear(geometry, src_crs, dest_projection)#
Project a geometry from one projection to another.
- Parameters:
geometry (
shapely.geometry.LineString
orshapely.geometry.LinearRing
) – A geometry to be projected.src_crs (cartopy.crs.CRS) – The coordinate system of the line to be projected.
dest_projection (cartopy.crs.Projection) – The projection for the resulting projected line.
- Returns:
shapely.geometry.MultiLineString
– The result of projecting the given geometry from the source projection into the destination projection.