girs.srs.srs_from_xml

srs_from_xml(xml)

Return the spatial reference from XML format (GML only currently).

Parameters:xml (str) – wkt string
Returns:spatial reference
Return type:osgeo.osr.SpatialReference