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

Method Details | [hide private]

### SetACEA(self, *args, **kwargs) | source code
    SetACEA(self, double stdp1, double stdp2, double clat, double clong,
        double fe, double fn) -> OGRErr

### SetEC(self, *args, **kwargs) | source code
    SetEC(self, double stdp1, double stdp2, double clat, double clong,
        double fe, double fn) -> OGRErr

### SetEquirectangular2(self, *args, **kwargs) | source code
    SetEquirectangular2(self, double clat, double clong, double pseudostdparallellat,
        double fe, double fn) -> OGRErr

### SetHOM(self, *args, **kwargs) | source code
    SetHOM(self, double clat, double clong, double azimuth, double recttoskew,
        double scale, double fe, double fn) -> OGRErr

### SetHOM2PNO(self, *args, **kwargs) | source code
    SetHOM2PNO(self, double clat, double dfLat1, double dfLong1, double dfLat2,
        double dfLong2, double scale, double fe,
        double fn) -> OGRErr

### SetKrovak(self, *args, **kwargs) | source code
    SetKrovak(self, double clat, double clong, double azimuth, double pseudostdparallellat,
        double scale, double fe,
        double fn) -> OGRErr

### SetLCC(self, *args, **kwargs) | source code
    SetLCC(self, double stdp1, double stdp2, double clat, double clong,
        double fe, double fn) -> OGRErr

### SetLCC1SP(self, *args, **kwargs) | source code
    SetLCC1SP(self, double clat, double clong, double scale, double fe,
        double fn) -> OGRErr

### SetLCCB(self, *args, **kwargs) | source code
    SetLCCB(self, double stdp1, double stdp2, double clat, double clong,
        double fe, double fn) -> OGRErr

### SetMercator(self, *args, **kwargs) | source code
    SetMercator(self, double clat, double clong, double scale, double fe,
        double fn) -> OGRErr

### SetOS(self, *args, **kwargs) | source code
    SetOS(self, double dfOriginLat, double dfCMeridian, double scale,
        double fe, double fn) -> OGRErr

### SetPS(self, *args, **kwargs) | source code
    SetPS(self, double clat, double clong, double scale, double fe,
        double fn) -> OGRErr

### SetStereographic(self, *args, **kwargs) | source code
    SetStereographic(self, double clat, double clong, double scale, double fe,
        double fn) -> OGRErr

### SetTM(self, *args, **kwargs) | source code
    SetTM(self, double clat, double clong, double scale, double fe,
        double fn) -> OGRErr

### SetTMVariant(self, *args, **kwargs) | source code
    SetTMVariant(self, char pszVariantName, double clat, double clong, double scale,
        double fe, double fn) -> OGRErr

### SetTMSO(self, *args, **kwargs) | source code
    SetTMSO(self, double clat, double clong, double scale, double fe,
        double fn) -> OGRErr

### SetTOWGS84(self, *args) | source code
    SetTOWGS84(self, double p1, double p2, double p3, double p4 = 0.0, double p5 = 0.0,
        double p6 = 0.0, double p7 = 0.0) -> OGRErr

### SetGeogCS(self, *args) | source code
    SetGeogCS(self, char pszGeogName, char pszDatumName, char pszEllipsoidName,
        double dfSemiMajor, double dfInvFlattening,
        char pszPMName = "Greenwich", double dfPMOffset = 0.0,
        char pszUnits = "degree", double dfConvertToRadians = 0.0174532925199433) -> OGRErr

### SetVertCS(self, *args) | source code
    SetVertCS(self, char VertCSName = "unnamed", char VertDatumName = "unnamed",
        int VertDatumType = 0) -> OGRErr