Package osgeo :: Module osr :: Class SpatialReference |
[hide private]
[frames] | no frames]

# Class SpatialReference

source code

Proxy of C++ OSRSpatialReferenceShadow class.

Instance Methods | [hide private]
__repr__(self) | source code
__init__(self, *args, **kwargs) __init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference | source code
__str__(self, *args) __str__(SpatialReference self) -> retStringAndCPLFree * | source code
IsSame(self, *args) IsSame(SpatialReference self, SpatialReference rhs) -> int | source code
IsSameGeogCS(self, *args) IsSameGeogCS(SpatialReference self, SpatialReference rhs) -> int | source code
IsSameVertCS(self, *args) IsSameVertCS(SpatialReference self, SpatialReference rhs) -> int | source code
IsGeographic(self, *args) IsGeographic(SpatialReference self) -> int | source code
IsProjected(self, *args) IsProjected(SpatialReference self) -> int | source code
IsCompound(self, *args) IsCompound(SpatialReference self) -> int | source code
IsGeocentric(self, *args) IsGeocentric(SpatialReference self) -> int | source code
IsLocal(self, *args) IsLocal(SpatialReference self) -> int | source code
IsVertical(self, *args) IsVertical(SpatialReference self) -> int | source code
EPSGTreatsAsLatLong(self, *args) EPSGTreatsAsLatLong(SpatialReference self) -> int | source code
EPSGTreatsAsNorthingEasting(self, *args) EPSGTreatsAsNorthingEasting(SpatialReference self) -> int | source code
SetAuthority(self, *args) SetAuthority(SpatialReference self, char const * pszTargetKey, char const * pszAuthority, int nCode) -> OGRErr | source code
GetAttrValue(self, *args) GetAttrValue(SpatialReference self, char const * name, int child=0) -> char const * | source code
SetAttrValue(self, *args) SetAttrValue(SpatialReference self, char const * name, char const * value) -> OGRErr | source code
SetAngularUnits(self, *args) SetAngularUnits(SpatialReference self, char const * name, double to_radians) -> OGRErr | source code
GetAngularUnits(self, *args) GetAngularUnits(SpatialReference self) -> double | source code
GetAngularUnitsName(self, *args) GetAngularUnitsName(SpatialReference self) -> char const * | source code
SetTargetLinearUnits(self, *args) SetTargetLinearUnits(SpatialReference self, char const * target, char const * name, double to_meters) -> OGRErr | source code
SetLinearUnits(self, *args) SetLinearUnits(SpatialReference self, char const * name, double to_meters) -> OGRErr | source code
SetLinearUnitsAndUpdateParameters(self, *args) SetLinearUnitsAndUpdateParameters(SpatialReference self, char const * name, double to_meters) -> OGRErr | source code
GetTargetLinearUnits(self, *args) GetTargetLinearUnits(SpatialReference self, char const * target_key) -> double | source code
GetLinearUnits(self, *args) GetLinearUnits(SpatialReference self) -> double | source code
GetLinearUnitsName(self, *args) GetLinearUnitsName(SpatialReference self) -> char const * | source code
GetAuthorityCode(self, *args) GetAuthorityCode(SpatialReference self, char const * target_key) -> char const * | source code
GetAuthorityName(self, *args) GetAuthorityName(SpatialReference self, char const * target_key) -> char const * | source code
GetAxisName(self, *args) GetAxisName(SpatialReference self, char const * target_key, int iAxis) -> char const * | source code
GetAxisOrientation(self, *args) GetAxisOrientation(SpatialReference self, char const * target_key, int iAxis) -> OGRAxisOrientation | source code
SetUTM(self, *args) SetUTM(SpatialReference self, int zone, int north=1) -> OGRErr | source code
GetUTMZone(self, *args) GetUTMZone(SpatialReference self) -> int | source code
SetStatePlane(self, *args) SetStatePlane(SpatialReference self, int zone, int is_nad83=1, char const * unitsname, double units=0.0) -> OGRErr | source code
AutoIdentifyEPSG(self, *args) AutoIdentifyEPSG(SpatialReference self) -> OGRErr | source code
FindMatches(self, *args) FindMatches(SpatialReference self, char ** options=None) | source code
SetProjection(self, *args) SetProjection(SpatialReference self, char const * arg) -> OGRErr | source code
SetProjParm(self, *args) SetProjParm(SpatialReference self, char const * name, double val) -> OGRErr | source code
GetProjParm(self, *args) GetProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double | source code
SetNormProjParm(self, *args) SetNormProjParm(SpatialReference self, char const * name, double val) -> OGRErr | source code
GetNormProjParm(self, *args) GetNormProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double | source code
GetSemiMajor(self, *args) GetSemiMajor(SpatialReference self) -> double | source code
GetSemiMinor(self, *args) GetSemiMinor(SpatialReference self) -> double | source code
GetInvFlattening(self, *args) GetInvFlattening(SpatialReference self) -> double | source code
SetACEA(self, *args, **kwargs) SetACEA(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetAE(self, *args, **kwargs) SetAE(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetBonne(self, *args, **kwargs) SetBonne(SpatialReference self, double stdp, double cm, double fe, double fn) -> OGRErr | source code
SetCEA(self, *args, **kwargs) SetCEA(SpatialReference self, double stdp1, double cm, double fe, double fn) -> OGRErr | source code
SetCS(self, *args, **kwargs) SetCS(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetEC(self, *args, **kwargs) SetEC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetEckertIV(self, *args, **kwargs) SetEckertIV(SpatialReference self, double cm, double fe, double fn) -> OGRErr | source code
SetEckertVI(self, *args, **kwargs) SetEckertVI(SpatialReference self, double cm, double fe, double fn) -> OGRErr | source code
SetEquirectangular(self, *args, **kwargs) SetEquirectangular(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetEquirectangular2(self, *args, **kwargs) SetEquirectangular2(SpatialReference self, double clat, double clong, double pseudostdparallellat, double fe, double fn) -> OGRErr | source code
SetGaussSchreiberTMercator(self, *args, **kwargs) SetGaussSchreiberTMercator(SpatialReference self, double clat, double clong, double sc, double fe, double fn) -> OGRErr | source code
SetGS(self, *args, **kwargs) SetGS(SpatialReference self, double cm, double fe, double fn) -> OGRErr | source code
SetGH(self, *args, **kwargs) SetGH(SpatialReference self, double cm, double fe, double fn) -> OGRErr | source code
SetIGH(self, *args) SetIGH(SpatialReference self) -> OGRErr | source code
SetGEOS(self, *args, **kwargs) SetGEOS(SpatialReference self, double cm, double satelliteheight, double fe, double fn) -> OGRErr | source code
SetGnomonic(self, *args, **kwargs) SetGnomonic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetHOM(self, *args, **kwargs) SetHOM(SpatialReference self, double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) -> OGRErr | source code
SetHOM2PNO(self, *args, **kwargs) SetHOM2PNO(SpatialReference self, double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) -> OGRErr | source code
SetKrovak(self, *args, **kwargs) SetKrovak(SpatialReference self, double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) -> OGRErr | source code
SetLAEA(self, *args, **kwargs) SetLAEA(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetLCC(self, *args, **kwargs) SetLCC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetLCC1SP(self, *args, **kwargs) SetLCC1SP(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr | source code
SetLCCB(self, *args, **kwargs) SetLCCB(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetMC(self, *args, **kwargs) SetMC(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetMercator(self, *args, **kwargs) SetMercator(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr | source code
SetMercator2SP(self, *args, **kwargs) SetMercator2SP(SpatialReference self, double stdp1, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetMollweide(self, *args, **kwargs) SetMollweide(SpatialReference self, double cm, double fe, double fn) -> OGRErr | source code
SetNZMG(self, *args, **kwargs) SetNZMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetOS(self, *args, **kwargs) SetOS(SpatialReference self, double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) -> OGRErr | source code
SetOrthographic(self, *args, **kwargs) SetOrthographic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetPolyconic(self, *args, **kwargs) SetPolyconic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetPS(self, *args, **kwargs) SetPS(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr | source code
SetRobinson(self, *args, **kwargs) SetRobinson(SpatialReference self, double clong, double fe, double fn) -> OGRErr | source code
SetSinusoidal(self, *args, **kwargs) SetSinusoidal(SpatialReference self, double clong, double fe, double fn) -> OGRErr | source code
SetStereographic(self, *args, **kwargs) SetStereographic(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr | source code
SetSOC(self, *args, **kwargs) SetSOC(SpatialReference self, double latitudeoforigin, double cm, double fe, double fn) -> OGRErr | source code
SetTM(self, *args, **kwargs) SetTM(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr | source code
SetTMVariant(self, *args, **kwargs) SetTMVariant(SpatialReference self, char const * pszVariantName, double clat, double clong, double scale, double fe, double fn) -> OGRErr | source code
SetTMG(self, *args, **kwargs) SetTMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr | source code
SetTMSO(self, *args, **kwargs) SetTMSO(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr | source code
SetVDG(self, *args, **kwargs) SetVDG(SpatialReference self, double clong, double fe, double fn) -> OGRErr | source code
SetWellKnownGeogCS(self, *args) SetWellKnownGeogCS(SpatialReference self, char const * name) -> OGRErr | source code
SetFromUserInput(self, *args) SetFromUserInput(SpatialReference self, char const * name) -> OGRErr | source code
CopyGeogCSFrom(self, *args) CopyGeogCSFrom(SpatialReference self, SpatialReference rhs) -> OGRErr | source code
SetTOWGS84(self, *args) SetTOWGS84(SpatialReference self, double p1, double p2, double p3, double p4=0.0, double p5=0.0, double p6=0.0, double p7=0.0) -> OGRErr | source code
GetTOWGS84(self, *args) GetTOWGS84(SpatialReference self) -> OGRErr | source code
SetLocalCS(self, *args) SetLocalCS(SpatialReference self, char const * pszName) -> OGRErr | source code
SetGeogCS(self, *args) SetGeogCS(SpatialReference self, char const * pszGeogName, char const * pszDatumName, char const * pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, char const * pszPMName, double dfPMOffset=0.0, char const * pszUnits, double dfConvertToRadians=0.0174532925199433) -> OGRErr | source code
SetProjCS(self, *args) SetProjCS(SpatialReference self, char const * name) -> OGRErr | source code
SetGeocCS(self, *args) SetGeocCS(SpatialReference self, char const * name) -> OGRErr | source code
SetVertCS(self, *args) SetVertCS(SpatialReference self, char const * VertCSName, char const * VertDatumName, int VertDatumType=0) -> OGRErr | source code
SetCompoundCS(self, *args) SetCompoundCS(SpatialReference self, char const * name, SpatialReference horizcs, SpatialReference vertcs) -> OGRErr | source code
ImportFromWkt(self, *args) ImportFromWkt(SpatialReference self, char ** ppszInput) -> OGRErr | source code
ImportFromProj4(self, *args) ImportFromProj4(SpatialReference self, char * ppszInput) -> OGRErr | source code
ImportFromUrl(self, *args) ImportFromUrl(SpatialReference self, char * url) -> OGRErr | source code
ImportFromESRI(self, *args) ImportFromESRI(SpatialReference self, char ** ppszInput) -> OGRErr | source code
ImportFromEPSG(self, *args) ImportFromEPSG(SpatialReference self, int arg) -> OGRErr | source code
ImportFromEPSGA(self, *args) ImportFromEPSGA(SpatialReference self, int arg) -> OGRErr | source code
ImportFromPCI(self, *args) ImportFromPCI(SpatialReference self, char const * proj, char const * units, double [17] argin=0) -> OGRErr | source code
ImportFromUSGS(self, *args) ImportFromUSGS(SpatialReference self, long proj_code, long zone=0, double [15] argin=0, long datum_code=0) -> OGRErr | source code
ImportFromXML(self, *args) ImportFromXML(SpatialReference self, char const * xmlString) -> OGRErr | source code
ImportFromERM(self, *args) ImportFromERM(SpatialReference self, char const * proj, char const * datum, char const * units) -> OGRErr | source code
ImportFromMICoordSys(self, *args) ImportFromMICoordSys(SpatialReference self, char const * pszCoordSys) -> OGRErr | source code
ImportFromOzi(self, *args) ImportFromOzi(SpatialReference self, char const *const * papszLines) -> OGRErr | source code
ExportToWkt(self, *args) ExportToWkt(SpatialReference self) -> OGRErr | source code
ExportToPrettyWkt(self, *args) ExportToPrettyWkt(SpatialReference self, int simplify=0) -> OGRErr | source code
ExportToProj4(self, *args) ExportToProj4(SpatialReference self) -> OGRErr | source code
ExportToPCI(self, *args) ExportToPCI(SpatialReference self) -> OGRErr | source code
ExportToUSGS(self, *args) ExportToUSGS(SpatialReference self) -> OGRErr | source code
ExportToXML(self, *args) ExportToXML(SpatialReference self, char const * dialect) -> OGRErr | source code
ExportToMICoordSys(self, *args) ExportToMICoordSys(SpatialReference self) -> OGRErr | source code
CloneGeogCS(self, *args) CloneGeogCS(SpatialReference self) -> SpatialReference | source code
Clone(self, *args) Clone(SpatialReference self) -> SpatialReference | source code
Validate(self, *args) Validate(SpatialReference self) -> OGRErr | source code
StripCTParms(self, *args) StripCTParms(SpatialReference self) -> OGRErr | source code
FixupOrdering(self, *args) FixupOrdering(SpatialReference self) -> OGRErr | source code
Fixup(self, *args) Fixup(SpatialReference self) -> OGRErr | source code
MorphToESRI(self, *args) MorphToESRI(SpatialReference self) -> OGRErr | source code
MorphFromESRI(self, *args) MorphFromESRI(SpatialReference self) -> OGRErr | source code
ConvertToOtherProjection(self, *args) ConvertToOtherProjection(SpatialReference self, char const * other_projection, char ** options=None) -> SpatialReference | source code

Class Variables | [hide private]
| __swig_setmethods__ = `{}`
| __setattr__ = `lambda self, name, value:`
| __swig_getmethods__ = `{}`
| __getattr__ = `lambda self, name:`
| __swig_destroy__ = `_osr.delete_SpatialReference`
| __del__ = `lambda self:`