Help on module osgeo.osr in osgeo:
NAME
osgeo.osr
FILE
c:\python26\lib\site-packages\osgeo\osr.py
DESCRIPTION
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.40
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
CLASSES
__builtin__.object
CoordinateTransformation
SpatialReference
class CoordinateTransformation(__builtin__.object)
| Proxy of C++ OSRCoordinateTransformationShadow class
|
| Methods defined here:
|
| TransformPoint(self, *args)
| TransformPoint(self, double inout)
| TransformPoint(self, double x, double y, double z = 0.0)
|
| TransformPoints(self, *args)
| TransformPoints(self, int nCount)
|
| __del__ lambda self
|
| __init__(self, *args)
| __init__(self, SpatialReference src, SpatialReference dst) -> CoordinateTransformation
|
| __repr__ = _swig_repr(self)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| thisown
| The membership flag
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ =
| delete_CoordinateTransformation(CoordinateTransformation self)
class SpatialReference(__builtin__.object)
| Proxy of C++ OSRSpatialReferenceShadow class
|
| Methods defined here:
|
| AutoIdentifyEPSG(self, *args)
| AutoIdentifyEPSG(self) -> OGRErr
|
| Clone(self, *args)
| Clone(self) -> SpatialReference
|
| CloneGeogCS(self, *args)
| CloneGeogCS(self) -> SpatialReference
|
| CopyGeogCSFrom(self, *args)
| CopyGeogCSFrom(self, SpatialReference rhs) -> OGRErr
|
| EPSGTreatsAsLatLong(self, *args)
| EPSGTreatsAsLatLong(self) -> int
|
| ExportToMICoordSys(self, *args)
| ExportToMICoordSys(self) -> OGRErr
|
| ExportToPCI(self, *args)
| ExportToPCI(self) -> OGRErr
|
| ExportToPrettyWkt(self, *args)
| ExportToPrettyWkt(self, int simplify = 0) -> OGRErr
|
| ExportToProj4(self, *args)
| ExportToProj4(self) -> OGRErr
|
| ExportToUSGS(self, *args)
| ExportToUSGS(self) -> OGRErr
|
| ExportToWkt(self, *args)
| ExportToWkt(self) -> OGRErr
|
| ExportToXML(self, *args)
| ExportToXML(self, char dialect = "") -> OGRErr
|
| Fixup(self, *args)
| Fixup(self) -> OGRErr
|
| FixupOrdering(self, *args)
| FixupOrdering(self) -> OGRErr
|
| GetAngularUnits(self, *args)
| GetAngularUnits(self) -> double
|
| GetAttrValue(self, *args)
| GetAttrValue(self, char name, int child = 0) -> char
|
| GetAuthorityCode(self, *args)
| GetAuthorityCode(self, char target_key) -> char
|
| GetAuthorityName(self, *args)
| GetAuthorityName(self, char target_key) -> char
|
| GetLinearUnits(self, *args)
| GetLinearUnits(self) -> double
|
| GetLinearUnitsName(self, *args)
| GetLinearUnitsName(self) -> char
|
| GetNormProjParm(self, *args)
| GetNormProjParm(self, char name, double default_val = 0.0) -> double
|
| GetProjParm(self, *args)
| GetProjParm(self, char name, double default_val = 0.0) -> double
|
| GetTOWGS84(self, *args)
| GetTOWGS84(self) -> OGRErr
|
| ImportFromEPSG(self, *args)
| ImportFromEPSG(self, int arg) -> OGRErr
|
| ImportFromEPSGA(self, *args)
| ImportFromEPSGA(self, int arg) -> OGRErr
|
| ImportFromESRI(self, *args)
| ImportFromESRI(self, char ppszInput) -> OGRErr
|
| ImportFromMICoordSys(self, *args)
| ImportFromMICoordSys(self, char pszCoordSys) -> OGRErr
|
| ImportFromPCI(self, *args)
| ImportFromPCI(self, char proj, char units = "METRE", double argin = 0) -> OGRErr
|
| ImportFromProj4(self, *args)
| ImportFromProj4(self, char ppszInput) -> OGRErr
|
| ImportFromUSGS(self, *args)
| ImportFromUSGS(self, long proj_code, long zone = 0, double argin = 0, long datum_code = 0) -> OGRErr
|
| ImportFromUrl(self, *args)
| ImportFromUrl(self, char url) -> OGRErr
|
| ImportFromWkt(self, *args)
| ImportFromWkt(self, char ppszInput) -> OGRErr
|
| ImportFromXML(self, *args)
| ImportFromXML(self, char xmlString) -> OGRErr
|
| IsGeographic(self, *args)
| IsGeographic(self) -> int
|
| IsLocal(self, *args)
| IsLocal(self) -> int
|
| IsProjected(self, *args)
| IsProjected(self) -> int
|
| IsSame(self, *args)
| IsSame(self, SpatialReference rhs) -> int
|
| IsSameGeogCS(self, *args)
| IsSameGeogCS(self, SpatialReference rhs) -> int
|
| MorphFromESRI(self, *args)
| MorphFromESRI(self) -> OGRErr
|
| MorphToESRI(self, *args)
| MorphToESRI(self) -> OGRErr
|
| SetACEA(self, *args, **kwargs)
| SetACEA(self, double stdp1, double stdp2, double clat, double clong,
| double fe, double fn) -> OGRErr
|
| SetAE(self, *args, **kwargs)
| SetAE(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetAngularUnits(self, *args)
| SetAngularUnits(self, char name, double to_radians) -> OGRErr
|
| SetAttrValue(self, *args)
| SetAttrValue(self, char name, char value) -> OGRErr
|
| SetAuthority(self, *args)
| SetAuthority(self, char pszTargetKey, char pszAuthority, int nCode) -> OGRErr
|
| SetBonne(self, *args, **kwargs)
| SetBonne(self, double stdp, double cm, double fe, double fn) -> OGRErr
|
| SetCEA(self, *args, **kwargs)
| SetCEA(self, double stdp1, double cm, double fe, double fn) -> OGRErr
|
| SetCS(self, *args, **kwargs)
| SetCS(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetEC(self, *args, **kwargs)
| SetEC(self, double stdp1, double stdp2, double clat, double clong,
| double fe, double fn) -> OGRErr
|
| SetEckertIV(self, *args, **kwargs)
| SetEckertIV(self, double cm, double fe, double fn) -> OGRErr
|
| SetEckertVI(self, *args, **kwargs)
| SetEckertVI(self, double cm, double fe, double fn) -> OGRErr
|
| SetEquirectangular(self, *args, **kwargs)
| SetEquirectangular(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetEquirectangular2(self, *args, **kwargs)
| SetEquirectangular2(self, double clat, double clong, double pseudostdparallellat,
| double fe, double fn) -> OGRErr
|
| SetFromUserInput(self, *args)
| SetFromUserInput(self, char name) -> OGRErr
|
| SetGEOS(self, *args, **kwargs)
| SetGEOS(self, double cm, double satelliteheight, double fe, double fn) -> OGRErr
|
| SetGH(self, *args, **kwargs)
| SetGH(self, double cm, double fe, double fn) -> OGRErr
|
| SetGS(self, *args, **kwargs)
| SetGS(self, double cm, double fe, double fn) -> OGRErr
|
| SetGaussSchreiberTMercator(self, *args, **kwargs)
| SetGaussSchreiberTMercator(self, double clat, double clong, double sc, double fe, double fn) -> OGRErr
|
| SetGeogCS(self, *args)
| 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
|
| SetGnomonic(self, *args, **kwargs)
| SetGnomonic(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetHOM(self, *args, **kwargs)
| SetHOM(self, double clat, double clong, double azimuth, double recttoskew,
| double scale, double fe, double fn) -> OGRErr
|
| SetHOM2PNO(self, *args, **kwargs)
| SetHOM2PNO(self, double clat, double dfLat1, double dfLong1, double dfLat2,
| double dfLong2, double scale, double fe,
| double fn) -> OGRErr
|
| SetKrovak(self, *args, **kwargs)
| SetKrovak(self, double clat, double clong, double azimuth, double pseudostdparallellat,
| double scale, double fe,
| double fn) -> OGRErr
|
| SetLAEA(self, *args, **kwargs)
| SetLAEA(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetLCC(self, *args, **kwargs)
| SetLCC(self, double stdp1, double stdp2, double clat, double clong,
| double fe, double fn) -> OGRErr
|
| SetLCC1SP(self, *args, **kwargs)
| SetLCC1SP(self, double clat, double clong, double scale, double fe,
| double fn) -> OGRErr
|
| SetLCCB(self, *args, **kwargs)
| SetLCCB(self, double stdp1, double stdp2, double clat, double clong,
| double fe, double fn) -> OGRErr
|
| SetLinearUnits(self, *args)
| SetLinearUnits(self, char name, double to_meters) -> OGRErr
|
| SetLinearUnitsAndUpdateParameters(self, *args)
| SetLinearUnitsAndUpdateParameters(self, char name, double to_meters) -> OGRErr
|
| SetLocalCS(self, *args)
| SetLocalCS(self, char pszName) -> OGRErr
|
| SetMC(self, *args, **kwargs)
| SetMC(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetMercator(self, *args, **kwargs)
| SetMercator(self, double clat, double clong, double scale, double fe,
| double fn) -> OGRErr
|
| SetMollweide(self, *args, **kwargs)
| SetMollweide(self, double cm, double fe, double fn) -> OGRErr
|
| SetNZMG(self, *args, **kwargs)
| SetNZMG(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetNormProjParm(self, *args)
| SetNormProjParm(self, char name, double val) -> OGRErr
|
| SetOS(self, *args, **kwargs)
| SetOS(self, double dfOriginLat, double dfCMeridian, double scale,
| double fe, double fn) -> OGRErr
|
| SetOrthographic(self, *args, **kwargs)
| SetOrthographic(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetPS(self, *args, **kwargs)
| SetPS(self, double clat, double clong, double scale, double fe,
| double fn) -> OGRErr
|
| SetPolyconic(self, *args, **kwargs)
| SetPolyconic(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetProjCS(self, *args)
| SetProjCS(self, char name = "unnamed") -> OGRErr
|
| SetProjParm(self, *args)
| SetProjParm(self, char name, double val) -> OGRErr
|
| SetProjection(self, *args)
| SetProjection(self, char arg) -> OGRErr
|
| SetRobinson(self, *args, **kwargs)
| SetRobinson(self, double clong, double fe, double fn) -> OGRErr
|
| SetSOC(self, *args, **kwargs)
| SetSOC(self, double latitudeoforigin, double cm, double fe, double fn) -> OGRErr
|
| SetSinusoidal(self, *args, **kwargs)
| SetSinusoidal(self, double clong, double fe, double fn) -> OGRErr
|
| SetStatePlane(self, *args)
| SetStatePlane(self, int zone, int is_nad83 = 1, char unitsname = "", double units = 0.0) -> OGRErr
|
| SetStereographic(self, *args, **kwargs)
| SetStereographic(self, double clat, double clong, double scale, double fe,
| double fn) -> OGRErr
|
| SetTM(self, *args, **kwargs)
| SetTM(self, double clat, double clong, double scale, double fe,
| double fn) -> OGRErr
|
| SetTMG(self, *args, **kwargs)
| SetTMG(self, double clat, double clong, double fe, double fn) -> OGRErr
|
| SetTMSO(self, *args, **kwargs)
| SetTMSO(self, double clat, double clong, double scale, double fe,
| double fn) -> OGRErr
|
| SetTMVariant(self, *args, **kwargs)
| SetTMVariant(self, char pszVariantName, double clat, double clong, double scale,
| double fe, double fn) -> OGRErr
|
| SetTOWGS84(self, *args)
| 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
|
| SetUTM(self, *args)
| SetUTM(self, int zone, int north = 1) -> OGRErr
|
| SetVDG(self, *args, **kwargs)
| SetVDG(self, double clong, double fe, double fn) -> OGRErr
|
| SetWellKnownGeogCS(self, *args)
| SetWellKnownGeogCS(self, char name) -> OGRErr
|
| StripCTParms(self, *args)
| StripCTParms(self) -> OGRErr
|
| Validate(self, *args)
| Validate(self) -> OGRErr
|
| __del__ lambda self
|
| __init__(self, *args, **kwargs)
| __init__(self, char wkt = "") -> SpatialReference
|
| __repr__ = _swig_repr(self)
|
| __str__(self, *args)
| __str__(self) -> retStringAndCPLFree
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| thisown
| The membership flag
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __swig_destroy__ =
| delete_SpatialReference(SpatialReference self)
FUNCTIONS
CoordinateTransformation_swigregister(...)
DontUseExceptions(*args)
DontUseExceptions()
GetProjectionMethods(...)
GetUserInputAsWKT(*args)
GetUserInputAsWKT(char name) -> OGRErr
GetWellKnownGeogCSAsWKT(*args)
GetWellKnownGeogCSAsWKT(char name) -> OGRErr
SpatialReference_swigregister(...)
UseExceptions(*args)
UseExceptions()
DATA
SRS_DN_NAD27 = 'North_American_Datum_1927'
SRS_DN_NAD83 = 'North_American_Datum_1983'
SRS_DN_WGS72 = 'WGS_1972'
SRS_DN_WGS84 = 'WGS_1984'
SRS_PM_GREENWICH = 'Greenwich'
SRS_PP_AZIMUTH = 'azimuth'
SRS_PP_CENTRAL_MERIDIAN = 'central_meridian'
SRS_PP_FALSE_EASTING = 'false_easting'
SRS_PP_FALSE_NORTHING = 'false_northing'
SRS_PP_FIPSZONE = 'fipszone'
SRS_PP_LANDSAT_NUMBER = 'landsat_number'
SRS_PP_LATITUDE_OF_1ST_POINT = 'Latitude_Of_1st_Point'
SRS_PP_LATITUDE_OF_2ND_POINT = 'Latitude_Of_2nd_Point'
SRS_PP_LATITUDE_OF_CENTER = 'latitude_of_center'
SRS_PP_LATITUDE_OF_ORIGIN = 'latitude_of_origin'
SRS_PP_LATITUDE_OF_POINT_1 = 'latitude_of_point_1'
SRS_PP_LATITUDE_OF_POINT_2 = 'latitude_of_point_2'
SRS_PP_LATITUDE_OF_POINT_3 = 'latitude_of_point_3'
SRS_PP_LONGITUDE_OF_1ST_POINT = 'Longitude_Of_1st_Point'
SRS_PP_LONGITUDE_OF_2ND_POINT = 'Longitude_Of_2nd_Point'
SRS_PP_LONGITUDE_OF_CENTER = 'longitude_of_center'
SRS_PP_LONGITUDE_OF_ORIGIN = 'longitude_of_origin'
SRS_PP_LONGITUDE_OF_POINT_1 = 'longitude_of_point_1'
SRS_PP_LONGITUDE_OF_POINT_2 = 'longitude_of_point_2'
SRS_PP_LONGITUDE_OF_POINT_3 = 'longitude_of_point_3'
SRS_PP_PATH_NUMBER = 'path_number'
SRS_PP_PERSPECTIVE_POINT_HEIGHT = 'perspective_point_height'
SRS_PP_PSEUDO_STD_PARALLEL_1 = 'pseudo_standard_parallel_1'
SRS_PP_RECTIFIED_GRID_ANGLE = 'rectified_grid_angle'
SRS_PP_SATELLITE_HEIGHT = 'satellite_height'
SRS_PP_SCALE_FACTOR = 'scale_factor'
SRS_PP_STANDARD_PARALLEL_1 = 'standard_parallel_1'
SRS_PP_STANDARD_PARALLEL_2 = 'standard_parallel_2'
SRS_PP_ZONE = 'zone'
SRS_PT_ALBERS_CONIC_EQUAL_AREA = 'Albers_Conic_Equal_Area'
SRS_PT_AZIMUTHAL_EQUIDISTANT = 'Azimuthal_Equidistant'
SRS_PT_BONNE = 'Bonne'
SRS_PT_CASSINI_SOLDNER = 'Cassini_Soldner'
SRS_PT_CYLINDRICAL_EQUAL_AREA = 'Cylindrical_Equal_Area'
SRS_PT_ECKERT_I = 'Eckert_I'
SRS_PT_ECKERT_II = 'Eckert_II'
SRS_PT_ECKERT_III = 'Eckert_III'
SRS_PT_ECKERT_IV = 'Eckert_IV'
SRS_PT_ECKERT_V = 'Eckert_V'
SRS_PT_ECKERT_VI = 'Eckert_VI'
SRS_PT_EQUIDISTANT_CONIC = 'Equidistant_Conic'
SRS_PT_EQUIRECTANGULAR = 'Equirectangular'
SRS_PT_GALL_STEREOGRAPHIC = 'Gall_Stereographic'
SRS_PT_GAUSSSCHREIBERTMERCATOR = 'Gauss_Schreiber_Transverse_Mercator'
SRS_PT_GEOSTATIONARY_SATELLITE = 'Geostationary_Satellite'
SRS_PT_GNOMONIC = 'Gnomonic'
SRS_PT_GOODE_HOMOLOSINE = 'Goode_Homolosine'
SRS_PT_HOTINE_OBLIQUE_MERCATOR = 'Hotine_Oblique_Mercator'
SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN = 'Hotine_Obli...
SRS_PT_IMW_POLYCONIC = 'International_Map_of_the_World_Polyconic'
SRS_PT_KROVAK = 'Krovak'
SRS_PT_LABORDE_OBLIQUE_MERCATOR = 'Laborde_Oblique_Mercator'
SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA = 'Lambert_Azimuthal_Equal_Area'
SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP = 'Lambert_Conformal_Conic_1SP'
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP = 'Lambert_Conformal_Conic_2SP'
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM = 'Lambert_Conformal_Conic_...
SRS_PT_MERCATOR_1SP = 'Mercator_1SP'
SRS_PT_MERCATOR_2SP = 'Mercator_2SP'
SRS_PT_MILLER_CYLINDRICAL = 'Miller_Cylindrical'
SRS_PT_MOLLWEIDE = 'Mollweide'
SRS_PT_NEW_ZEALAND_MAP_GRID = 'New_Zealand_Map_Grid'
SRS_PT_OBLIQUE_STEREOGRAPHIC = 'Oblique_Stereographic'
SRS_PT_ORTHOGRAPHIC = 'Orthographic'
SRS_PT_POLAR_STEREOGRAPHIC = 'Polar_Stereographic'
SRS_PT_POLYCONIC = 'Polyconic'
SRS_PT_ROBINSON = 'Robinson'
SRS_PT_SINUSOIDAL = 'Sinusoidal'
SRS_PT_STEREOGRAPHIC = 'Stereographic'
SRS_PT_SWISS_OBLIQUE_CYLINDRICAL = 'Swiss_Oblique_Cylindrical'
SRS_PT_TRANSVERSE_MERCATOR = 'Transverse_Mercator'
SRS_PT_TRANSVERSE_MERCATOR_MI_21 = 'Transverse_Mercator_MapInfo_21'
SRS_PT_TRANSVERSE_MERCATOR_MI_22 = 'Transverse_Mercator_MapInfo_22'
SRS_PT_TRANSVERSE_MERCATOR_MI_23 = 'Transverse_Mercator_MapInfo_23'
SRS_PT_TRANSVERSE_MERCATOR_MI_24 = 'Transverse_Mercator_MapInfo_24'
SRS_PT_TRANSVERSE_MERCATOR_MI_25 = 'Transverse_Mercator_MapInfo_25'
SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED = 'Transverse_Mercator_South...
SRS_PT_TUNISIA_MINING_GRID = 'Tunisia_Mining_Grid'
SRS_PT_TWO_POINT_EQUIDISTANT = 'Two_Point_Equidistant'
SRS_PT_VANDERGRINTEN = 'VanDerGrinten'
SRS_PT_WAGNER_I = 'Wagner_I'
SRS_PT_WAGNER_II = 'Wagner_II'
SRS_PT_WAGNER_III = 'Wagner_III'
SRS_PT_WAGNER_IV = 'Wagner_IV'
SRS_PT_WAGNER_V = 'Wagner_V'
SRS_PT_WAGNER_VI = 'Wagner_VI'
SRS_PT_WAGNER_VII = 'Wagner_VII'
SRS_UA_DEGREE = 'degree'
SRS_UA_DEGREE_CONV = '0.0174532925199433'
SRS_UA_RADIAN = 'radian'
SRS_UL_CHAIN = 'Chain'
SRS_UL_CHAIN_CONV = '20.116684023368047'
SRS_UL_FOOT = 'Foot (International)'
SRS_UL_FOOT_CONV = '0.3048'
SRS_UL_LINK = 'Link'
SRS_UL_LINK_CONV = '0.20116684023368047'
SRS_UL_METER = 'Meter'
SRS_UL_NAUTICAL_MILE = 'Nautical Mile'
SRS_UL_NAUTICAL_MILE_CONV = '1852.0'
SRS_UL_ROD = 'Rod'
SRS_UL_ROD_CONV = '5.02921005842012'
SRS_UL_US_FOOT = 'Foot_US'
SRS_UL_US_FOOT_CONV = '0.3048006096012192'
SRS_WGS84_INVFLATTENING = 298.25722356300003
SRS_WGS84_SEMIMAJOR = 6378137.0
SRS_WKT_WGS84 = 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 8...TH...
None