wradlib.georef.vector.transform_geometry

wradlib.georef.vector.transform_geometry#

wradlib.georef.vector.transform_geometry(geom, trg_crs, **kwargs)[source]#

Perform geotransformation to given destination SpatialReferenceSystem

It transforms coordinates to a given destination osr spatial reference if a geotransform is neccessary.

Parameters:
Keyword Arguments:

src_crs (pyproj:pyproj.CRS, cartopy.crs.CRS, osgeo.osr.SpatialReference, str or int) – Any of the given projection objects, or anything which can be consumed by pyproj.CRS.from_user_input Source Projection

Returns:

geom (osgeo.ogr.Geometry) – Transformed Geometry