girs.srs.srs_from_pci

srs_from_pci(*args)

Return the spatial reference from PCI projection definition

Parameters:
  • proj (str) – NULL terminated string containing the definition. Looks like “pppppppppppp Ennn” or “pppppppppppp Dnnn”, where “pppppppppppp” is a projection code, “Ennn” is an ellipsoid code, “Dnnn” - a datum code.
  • units (str) – Grid units code (“DEGREE” or “METRE”). If NULL “METRE” will be used.
  • parameters (list) – 17 coordinate system parameters
Returns:

spatial reference

Return type:

osgeo.osr.SpatialReference