wradlib.georef.projection.projstr_to_osr

Contents

wradlib.georef.projection.projstr_to_osr#

wradlib.georef.projection.projstr_to_osr(projstr)[source]#

Transform a PROJ string to an osr spatial reference object

Parameters:

projstr (str) – PROJ string describing projection

Returns:

crs (osgeo.osr.SpatialReference) – GDAL OSR SRS object defining projection

Examples

See Projection.

Deprecated since version 2.4: This will be removed in 3.0. Use pyproj.CRS.from_proj4 instead.