girs.srs.srs_from_epsg

srs_from_epsg(epsg)

Return the spatial reference from EPSG GCS or PCS code

Parameters:epsg (int, str) – code or ‘EPSG:XXXXX’ where XXXXX is the epsg code
Returns:spatial reference
Return type:osgeo.osr.SpatialReference