girs.srs.export

export(srs, fmt='wkt')

Export the spatial reference to a string format. Default is ‘wkt’ (well known type)

Possible formats:

  • ‘xml’
  • ‘wkt’
  • ‘usgs’
  • ‘proj4’
  • ‘prettywkt’
  • ‘pci’
  • ‘micoordsys’
Parameters:
  • srs (osgeo.osr.SpatialReference) – spatial reference
  • fmt (str) – export format
Returns:

spatial reference in the required format