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

Source Code for Module osgeo.osr

   1  # This file was automatically generated by SWIG (http://www.swig.org). 
   2  # Version 3.0.12 
   3  # 
   4  # Do not make changes to this file unless you know what you are doing--modify 
   5  # the SWIG interface file instead. 
   6   
   7  from sys import version_info as _swig_python_version_info 
   8  if _swig_python_version_info >= (2, 7, 0): 
9 - def swig_import_helper():
10 import importlib 11 pkg = __name__.rpartition('.')[0] 12 mname = '.'.join((pkg, '_osr')).lstrip('.') 13 try: 14 return importlib.import_module(mname) 15 except ImportError: 16 return importlib.import_module('_osr')
17 _osr = swig_import_helper() 18 del swig_import_helper 19 elif _swig_python_version_info >= (2, 6, 0):
20 - def swig_import_helper():
21 from os.path import dirname 22 import imp 23 fp = None 24 try: 25 fp, pathname, description = imp.find_module('_osr', [dirname(__file__)]) 26 except ImportError: 27 import _osr 28 return _osr 29 try: 30 _mod = imp.load_module('_osr', fp, pathname, description) 31 finally: 32 if fp is not None: 33 fp.close() 34 return _mod
35 _osr = swig_import_helper() 36 del swig_import_helper 37 else: 38 import _osr 39 del _swig_python_version_info 40 41 try: 42 _swig_property = property 43 except NameError: 44 pass # Python < 2.2 doesn't have 'property'. 45 46 try: 47 import builtins as __builtin__ 48 except ImportError: 49 import __builtin__ 50
51 -def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
52 if (name == "thisown"): 53 return self.this.own(value) 54 if (name == "this"): 55 if type(value).__name__ == 'SwigPyObject': 56 self.__dict__[name] = value 57 return 58 method = class_type.__swig_setmethods__.get(name, None) 59 if method: 60 return method(self, value) 61 if (not static): 62 if _newclass: 63 object.__setattr__(self, name, value) 64 else: 65 self.__dict__[name] = value 66 else: 67 raise AttributeError("You cannot add attributes to %s" % self)
68 69
70 -def _swig_setattr(self, class_type, name, value):
71 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
72 73
74 -def _swig_getattr(self, class_type, name):
75 if (name == "thisown"): 76 return self.this.own() 77 method = class_type.__swig_getmethods__.get(name, None) 78 if method: 79 return method(self) 80 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
81 82
83 -def _swig_repr(self):
84 try: 85 strthis = "proxy of " + self.this.__repr__() 86 except __builtin__.Exception: 87 strthis = "" 88 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
89 90 try: 91 _object = object 92 _newclass = 1 93 except __builtin__.Exception:
94 - class _object:
95 pass
96 _newclass = 0 97 98 SRS_WKT_WGS84_LAT_LONG = _osr.SRS_WKT_WGS84_LAT_LONG 99 SRS_PT_ALBERS_CONIC_EQUAL_AREA = _osr.SRS_PT_ALBERS_CONIC_EQUAL_AREA 100 SRS_PT_AZIMUTHAL_EQUIDISTANT = _osr.SRS_PT_AZIMUTHAL_EQUIDISTANT 101 SRS_PT_CASSINI_SOLDNER = _osr.SRS_PT_CASSINI_SOLDNER 102 SRS_PT_CYLINDRICAL_EQUAL_AREA = _osr.SRS_PT_CYLINDRICAL_EQUAL_AREA 103 SRS_PT_BONNE = _osr.SRS_PT_BONNE 104 SRS_PT_ECKERT_I = _osr.SRS_PT_ECKERT_I 105 SRS_PT_ECKERT_II = _osr.SRS_PT_ECKERT_II 106 SRS_PT_ECKERT_III = _osr.SRS_PT_ECKERT_III 107 SRS_PT_ECKERT_IV = _osr.SRS_PT_ECKERT_IV 108 SRS_PT_ECKERT_V = _osr.SRS_PT_ECKERT_V 109 SRS_PT_ECKERT_VI = _osr.SRS_PT_ECKERT_VI 110 SRS_PT_EQUIDISTANT_CONIC = _osr.SRS_PT_EQUIDISTANT_CONIC 111 SRS_PT_EQUIRECTANGULAR = _osr.SRS_PT_EQUIRECTANGULAR 112 SRS_PT_GALL_STEREOGRAPHIC = _osr.SRS_PT_GALL_STEREOGRAPHIC 113 SRS_PT_GAUSSSCHREIBERTMERCATOR = _osr.SRS_PT_GAUSSSCHREIBERTMERCATOR 114 SRS_PT_GEOSTATIONARY_SATELLITE = _osr.SRS_PT_GEOSTATIONARY_SATELLITE 115 SRS_PT_GOODE_HOMOLOSINE = _osr.SRS_PT_GOODE_HOMOLOSINE 116 SRS_PT_IGH = _osr.SRS_PT_IGH 117 SRS_PT_GNOMONIC = _osr.SRS_PT_GNOMONIC 118 SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER 119 SRS_PT_HOTINE_OBLIQUE_MERCATOR = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR 120 SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN 121 SRS_PT_LABORDE_OBLIQUE_MERCATOR = _osr.SRS_PT_LABORDE_OBLIQUE_MERCATOR 122 SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP 123 SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP 124 SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM 125 SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA = _osr.SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA 126 SRS_PT_MERCATOR_1SP = _osr.SRS_PT_MERCATOR_1SP 127 SRS_PT_MERCATOR_2SP = _osr.SRS_PT_MERCATOR_2SP 128 SRS_PT_MERCATOR_AUXILIARY_SPHERE = _osr.SRS_PT_MERCATOR_AUXILIARY_SPHERE 129 SRS_PT_MILLER_CYLINDRICAL = _osr.SRS_PT_MILLER_CYLINDRICAL 130 SRS_PT_MOLLWEIDE = _osr.SRS_PT_MOLLWEIDE 131 SRS_PT_NEW_ZEALAND_MAP_GRID = _osr.SRS_PT_NEW_ZEALAND_MAP_GRID 132 SRS_PT_OBLIQUE_STEREOGRAPHIC = _osr.SRS_PT_OBLIQUE_STEREOGRAPHIC 133 SRS_PT_ORTHOGRAPHIC = _osr.SRS_PT_ORTHOGRAPHIC 134 SRS_PT_POLAR_STEREOGRAPHIC = _osr.SRS_PT_POLAR_STEREOGRAPHIC 135 SRS_PT_POLYCONIC = _osr.SRS_PT_POLYCONIC 136 SRS_PT_ROBINSON = _osr.SRS_PT_ROBINSON 137 SRS_PT_SINUSOIDAL = _osr.SRS_PT_SINUSOIDAL 138 SRS_PT_STEREOGRAPHIC = _osr.SRS_PT_STEREOGRAPHIC 139 SRS_PT_SWISS_OBLIQUE_CYLINDRICAL = _osr.SRS_PT_SWISS_OBLIQUE_CYLINDRICAL 140 SRS_PT_TRANSVERSE_MERCATOR = _osr.SRS_PT_TRANSVERSE_MERCATOR 141 SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED = _osr.SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED 142 SRS_PT_TRANSVERSE_MERCATOR_MI_21 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_21 143 SRS_PT_TRANSVERSE_MERCATOR_MI_22 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_22 144 SRS_PT_TRANSVERSE_MERCATOR_MI_23 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_23 145 SRS_PT_TRANSVERSE_MERCATOR_MI_24 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_24 146 SRS_PT_TRANSVERSE_MERCATOR_MI_25 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_25 147 SRS_PT_TUNISIA_MINING_GRID = _osr.SRS_PT_TUNISIA_MINING_GRID 148 SRS_PT_TWO_POINT_EQUIDISTANT = _osr.SRS_PT_TWO_POINT_EQUIDISTANT 149 SRS_PT_VANDERGRINTEN = _osr.SRS_PT_VANDERGRINTEN 150 SRS_PT_KROVAK = _osr.SRS_PT_KROVAK 151 SRS_PT_IMW_POLYCONIC = _osr.SRS_PT_IMW_POLYCONIC 152 SRS_PT_WAGNER_I = _osr.SRS_PT_WAGNER_I 153 SRS_PT_WAGNER_II = _osr.SRS_PT_WAGNER_II 154 SRS_PT_WAGNER_III = _osr.SRS_PT_WAGNER_III 155 SRS_PT_WAGNER_IV = _osr.SRS_PT_WAGNER_IV 156 SRS_PT_WAGNER_V = _osr.SRS_PT_WAGNER_V 157 SRS_PT_WAGNER_VI = _osr.SRS_PT_WAGNER_VI 158 SRS_PT_WAGNER_VII = _osr.SRS_PT_WAGNER_VII 159 SRS_PT_QSC = _osr.SRS_PT_QSC 160 SRS_PT_AITOFF = _osr.SRS_PT_AITOFF 161 SRS_PT_WINKEL_I = _osr.SRS_PT_WINKEL_I 162 SRS_PT_WINKEL_II = _osr.SRS_PT_WINKEL_II 163 SRS_PT_WINKEL_TRIPEL = _osr.SRS_PT_WINKEL_TRIPEL 164 SRS_PT_CRASTER_PARABOLIC = _osr.SRS_PT_CRASTER_PARABOLIC 165 SRS_PT_LOXIMUTHAL = _osr.SRS_PT_LOXIMUTHAL 166 SRS_PT_QUARTIC_AUTHALIC = _osr.SRS_PT_QUARTIC_AUTHALIC 167 SRS_PT_SCH = _osr.SRS_PT_SCH 168 SRS_PP_CENTRAL_MERIDIAN = _osr.SRS_PP_CENTRAL_MERIDIAN 169 SRS_PP_SCALE_FACTOR = _osr.SRS_PP_SCALE_FACTOR 170 SRS_PP_STANDARD_PARALLEL_1 = _osr.SRS_PP_STANDARD_PARALLEL_1 171 SRS_PP_STANDARD_PARALLEL_2 = _osr.SRS_PP_STANDARD_PARALLEL_2 172 SRS_PP_PSEUDO_STD_PARALLEL_1 = _osr.SRS_PP_PSEUDO_STD_PARALLEL_1 173 SRS_PP_LONGITUDE_OF_CENTER = _osr.SRS_PP_LONGITUDE_OF_CENTER 174 SRS_PP_LATITUDE_OF_CENTER = _osr.SRS_PP_LATITUDE_OF_CENTER 175 SRS_PP_LONGITUDE_OF_ORIGIN = _osr.SRS_PP_LONGITUDE_OF_ORIGIN 176 SRS_PP_LATITUDE_OF_ORIGIN = _osr.SRS_PP_LATITUDE_OF_ORIGIN 177 SRS_PP_FALSE_EASTING = _osr.SRS_PP_FALSE_EASTING 178 SRS_PP_FALSE_NORTHING = _osr.SRS_PP_FALSE_NORTHING 179 SRS_PP_AZIMUTH = _osr.SRS_PP_AZIMUTH 180 SRS_PP_LONGITUDE_OF_POINT_1 = _osr.SRS_PP_LONGITUDE_OF_POINT_1 181 SRS_PP_LATITUDE_OF_POINT_1 = _osr.SRS_PP_LATITUDE_OF_POINT_1 182 SRS_PP_LONGITUDE_OF_POINT_2 = _osr.SRS_PP_LONGITUDE_OF_POINT_2 183 SRS_PP_LATITUDE_OF_POINT_2 = _osr.SRS_PP_LATITUDE_OF_POINT_2 184 SRS_PP_LONGITUDE_OF_POINT_3 = _osr.SRS_PP_LONGITUDE_OF_POINT_3 185 SRS_PP_LATITUDE_OF_POINT_3 = _osr.SRS_PP_LATITUDE_OF_POINT_3 186 SRS_PP_RECTIFIED_GRID_ANGLE = _osr.SRS_PP_RECTIFIED_GRID_ANGLE 187 SRS_PP_LANDSAT_NUMBER = _osr.SRS_PP_LANDSAT_NUMBER 188 SRS_PP_PATH_NUMBER = _osr.SRS_PP_PATH_NUMBER 189 SRS_PP_PERSPECTIVE_POINT_HEIGHT = _osr.SRS_PP_PERSPECTIVE_POINT_HEIGHT 190 SRS_PP_SATELLITE_HEIGHT = _osr.SRS_PP_SATELLITE_HEIGHT 191 SRS_PP_FIPSZONE = _osr.SRS_PP_FIPSZONE 192 SRS_PP_ZONE = _osr.SRS_PP_ZONE 193 SRS_PP_LATITUDE_OF_1ST_POINT = _osr.SRS_PP_LATITUDE_OF_1ST_POINT 194 SRS_PP_LONGITUDE_OF_1ST_POINT = _osr.SRS_PP_LONGITUDE_OF_1ST_POINT 195 SRS_PP_LATITUDE_OF_2ND_POINT = _osr.SRS_PP_LATITUDE_OF_2ND_POINT 196 SRS_PP_LONGITUDE_OF_2ND_POINT = _osr.SRS_PP_LONGITUDE_OF_2ND_POINT 197 SRS_PP_PEG_POINT_LATITUDE = _osr.SRS_PP_PEG_POINT_LATITUDE 198 SRS_PP_PEG_POINT_LONGITUDE = _osr.SRS_PP_PEG_POINT_LONGITUDE 199 SRS_PP_PEG_POINT_HEADING = _osr.SRS_PP_PEG_POINT_HEADING 200 SRS_PP_PEG_POINT_HEIGHT = _osr.SRS_PP_PEG_POINT_HEIGHT 201 SRS_UL_METER = _osr.SRS_UL_METER 202 SRS_UL_FOOT = _osr.SRS_UL_FOOT 203 SRS_UL_FOOT_CONV = _osr.SRS_UL_FOOT_CONV 204 SRS_UL_US_FOOT = _osr.SRS_UL_US_FOOT 205 SRS_UL_US_FOOT_CONV = _osr.SRS_UL_US_FOOT_CONV 206 SRS_UL_NAUTICAL_MILE = _osr.SRS_UL_NAUTICAL_MILE 207 SRS_UL_NAUTICAL_MILE_CONV = _osr.SRS_UL_NAUTICAL_MILE_CONV 208 SRS_UL_LINK = _osr.SRS_UL_LINK 209 SRS_UL_LINK_CONV = _osr.SRS_UL_LINK_CONV 210 SRS_UL_CHAIN = _osr.SRS_UL_CHAIN 211 SRS_UL_CHAIN_CONV = _osr.SRS_UL_CHAIN_CONV 212 SRS_UL_ROD = _osr.SRS_UL_ROD 213 SRS_UL_ROD_CONV = _osr.SRS_UL_ROD_CONV 214 SRS_UL_LINK_Clarke = _osr.SRS_UL_LINK_Clarke 215 SRS_UL_LINK_Clarke_CONV = _osr.SRS_UL_LINK_Clarke_CONV 216 SRS_UL_KILOMETER = _osr.SRS_UL_KILOMETER 217 SRS_UL_KILOMETER_CONV = _osr.SRS_UL_KILOMETER_CONV 218 SRS_UL_DECIMETER = _osr.SRS_UL_DECIMETER 219 SRS_UL_DECIMETER_CONV = _osr.SRS_UL_DECIMETER_CONV 220 SRS_UL_CENTIMETER = _osr.SRS_UL_CENTIMETER 221 SRS_UL_CENTIMETER_CONV = _osr.SRS_UL_CENTIMETER_CONV 222 SRS_UL_MILLIMETER = _osr.SRS_UL_MILLIMETER 223 SRS_UL_MILLIMETER_CONV = _osr.SRS_UL_MILLIMETER_CONV 224 SRS_UL_INTL_NAUT_MILE = _osr.SRS_UL_INTL_NAUT_MILE 225 SRS_UL_INTL_NAUT_MILE_CONV = _osr.SRS_UL_INTL_NAUT_MILE_CONV 226 SRS_UL_INTL_INCH = _osr.SRS_UL_INTL_INCH 227 SRS_UL_INTL_INCH_CONV = _osr.SRS_UL_INTL_INCH_CONV 228 SRS_UL_INTL_FOOT = _osr.SRS_UL_INTL_FOOT 229 SRS_UL_INTL_FOOT_CONV = _osr.SRS_UL_INTL_FOOT_CONV 230 SRS_UL_INTL_YARD = _osr.SRS_UL_INTL_YARD 231 SRS_UL_INTL_YARD_CONV = _osr.SRS_UL_INTL_YARD_CONV 232 SRS_UL_INTL_STAT_MILE = _osr.SRS_UL_INTL_STAT_MILE 233 SRS_UL_INTL_STAT_MILE_CONV = _osr.SRS_UL_INTL_STAT_MILE_CONV 234 SRS_UL_INTL_FATHOM = _osr.SRS_UL_INTL_FATHOM 235 SRS_UL_INTL_FATHOM_CONV = _osr.SRS_UL_INTL_FATHOM_CONV 236 SRS_UL_INTL_CHAIN = _osr.SRS_UL_INTL_CHAIN 237 SRS_UL_INTL_CHAIN_CONV = _osr.SRS_UL_INTL_CHAIN_CONV 238 SRS_UL_INTL_LINK = _osr.SRS_UL_INTL_LINK 239 SRS_UL_INTL_LINK_CONV = _osr.SRS_UL_INTL_LINK_CONV 240 SRS_UL_US_INCH = _osr.SRS_UL_US_INCH 241 SRS_UL_US_INCH_CONV = _osr.SRS_UL_US_INCH_CONV 242 SRS_UL_US_YARD = _osr.SRS_UL_US_YARD 243 SRS_UL_US_YARD_CONV = _osr.SRS_UL_US_YARD_CONV 244 SRS_UL_US_CHAIN = _osr.SRS_UL_US_CHAIN 245 SRS_UL_US_CHAIN_CONV = _osr.SRS_UL_US_CHAIN_CONV 246 SRS_UL_US_STAT_MILE = _osr.SRS_UL_US_STAT_MILE 247 SRS_UL_US_STAT_MILE_CONV = _osr.SRS_UL_US_STAT_MILE_CONV 248 SRS_UL_INDIAN_YARD = _osr.SRS_UL_INDIAN_YARD 249 SRS_UL_INDIAN_YARD_CONV = _osr.SRS_UL_INDIAN_YARD_CONV 250 SRS_UL_INDIAN_FOOT = _osr.SRS_UL_INDIAN_FOOT 251 SRS_UL_INDIAN_FOOT_CONV = _osr.SRS_UL_INDIAN_FOOT_CONV 252 SRS_UL_INDIAN_CHAIN = _osr.SRS_UL_INDIAN_CHAIN 253 SRS_UL_INDIAN_CHAIN_CONV = _osr.SRS_UL_INDIAN_CHAIN_CONV 254 SRS_UA_DEGREE = _osr.SRS_UA_DEGREE 255 SRS_UA_DEGREE_CONV = _osr.SRS_UA_DEGREE_CONV 256 SRS_UA_RADIAN = _osr.SRS_UA_RADIAN 257 SRS_PM_GREENWICH = _osr.SRS_PM_GREENWICH 258 SRS_DN_NAD27 = _osr.SRS_DN_NAD27 259 SRS_DN_NAD83 = _osr.SRS_DN_NAD83 260 SRS_DN_WGS72 = _osr.SRS_DN_WGS72 261 SRS_DN_WGS84 = _osr.SRS_DN_WGS84 262 SRS_WGS84_SEMIMAJOR = _osr.SRS_WGS84_SEMIMAJOR 263 SRS_WGS84_INVFLATTENING = _osr.SRS_WGS84_INVFLATTENING 264 OAO_Other = _osr.OAO_Other 265 OAO_North = _osr.OAO_North 266 OAO_South = _osr.OAO_South 267 OAO_East = _osr.OAO_East 268 OAO_West = _osr.OAO_West 269 OAO_Up = _osr.OAO_Up 270 OAO_Down = _osr.OAO_Down 271 OAMS_TRADITIONAL_GIS_ORDER = _osr.OAMS_TRADITIONAL_GIS_ORDER 272 OAMS_AUTHORITY_COMPLIANT = _osr.OAMS_AUTHORITY_COMPLIANT 273 OAMS_CUSTOM = _osr.OAMS_CUSTOM 274 PROJ_ERR_INVALID_OP = _osr.PROJ_ERR_INVALID_OP 275 PROJ_ERR_INVALID_OP_WRONG_SYNTAX = _osr.PROJ_ERR_INVALID_OP_WRONG_SYNTAX 276 PROJ_ERR_INVALID_OP_MISSING_ARG = _osr.PROJ_ERR_INVALID_OP_MISSING_ARG 277 PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE = _osr.PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE 278 PROJ_ERR_INVALID_OP_MUTUALLY_EXCLUSIVE_ARGS = _osr.PROJ_ERR_INVALID_OP_MUTUALLY_EXCLUSIVE_ARGS 279 PROJ_ERR_INVALID_OP_FILE_NOT_FOUND_OR_INVALID = _osr.PROJ_ERR_INVALID_OP_FILE_NOT_FOUND_OR_INVALID 280 PROJ_ERR_COORD_TRANSFM = _osr.PROJ_ERR_COORD_TRANSFM 281 PROJ_ERR_COORD_TRANSFM_INVALID_COORD = _osr.PROJ_ERR_COORD_TRANSFM_INVALID_COORD 282 PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN = _osr.PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN 283 PROJ_ERR_COORD_TRANSFM_NO_OPERATION = _osr.PROJ_ERR_COORD_TRANSFM_NO_OPERATION 284 PROJ_ERR_COORD_TRANSFM_OUTSIDE_GRID = _osr.PROJ_ERR_COORD_TRANSFM_OUTSIDE_GRID 285 PROJ_ERR_COORD_TRANSFM_GRID_AT_NODATA = _osr.PROJ_ERR_COORD_TRANSFM_GRID_AT_NODATA 286 PROJ_ERR_OTHER = _osr.PROJ_ERR_OTHER 287 PROJ_ERR_OTHER_API_MISUSE = _osr.PROJ_ERR_OTHER_API_MISUSE 288 PROJ_ERR_OTHER_NO_INVERSE_OP = _osr.PROJ_ERR_OTHER_NO_INVERSE_OP 289 PROJ_ERR_OTHER_NETWORK_ERROR = _osr.PROJ_ERR_OTHER_NETWORK_ERROR 290
291 -def GetUseExceptions(*args):
292 """GetUseExceptions() -> int""" 293 return _osr.GetUseExceptions(*args)
294
295 -def UseExceptions(*args):
296 """UseExceptions()""" 297 return _osr.UseExceptions(*args)
298
299 -def DontUseExceptions(*args):
300 """DontUseExceptions()""" 301 return _osr.DontUseExceptions(*args)
302
303 -def GetWellKnownGeogCSAsWKT(*args):
304 """GetWellKnownGeogCSAsWKT(char const * name) -> OGRErr""" 305 return _osr.GetWellKnownGeogCSAsWKT(*args)
306
307 -def GetUserInputAsWKT(*args):
308 """GetUserInputAsWKT(char const * name) -> OGRErr""" 309 return _osr.GetUserInputAsWKT(*args)
310 -class AreaOfUse(_object):
311 """Proxy of C++ OSRAreaOfUse class.""" 312 313 __swig_setmethods__ = {} 314 __setattr__ = lambda self, name, value: _swig_setattr(self, AreaOfUse, name, value) 315 __swig_getmethods__ = {} 316 __getattr__ = lambda self, name: _swig_getattr(self, AreaOfUse, name) 317 __repr__ = _swig_repr 318 __swig_getmethods__["west_lon_degree"] = _osr.AreaOfUse_west_lon_degree_get 319 if _newclass: 320 west_lon_degree = _swig_property(_osr.AreaOfUse_west_lon_degree_get) 321 __swig_getmethods__["south_lat_degree"] = _osr.AreaOfUse_south_lat_degree_get 322 if _newclass: 323 south_lat_degree = _swig_property(_osr.AreaOfUse_south_lat_degree_get) 324 __swig_getmethods__["east_lon_degree"] = _osr.AreaOfUse_east_lon_degree_get 325 if _newclass: 326 east_lon_degree = _swig_property(_osr.AreaOfUse_east_lon_degree_get) 327 __swig_getmethods__["north_lat_degree"] = _osr.AreaOfUse_north_lat_degree_get 328 if _newclass: 329 north_lat_degree = _swig_property(_osr.AreaOfUse_north_lat_degree_get) 330 __swig_getmethods__["name"] = _osr.AreaOfUse_name_get 331 if _newclass: 332 name = _swig_property(_osr.AreaOfUse_name_get) 333
334 - def __init__(self, *args):
335 """__init__(OSRAreaOfUse self, double west_lon_degree, double south_lat_degree, double east_lon_degree, double north_lat_degree, char * name) -> AreaOfUse""" 336 this = _osr.new_AreaOfUse(*args) 337 try: 338 self.this.append(this) 339 except __builtin__.Exception: 340 self.this = this
341 __swig_destroy__ = _osr.delete_AreaOfUse 342 __del__ = lambda self: None
343 AreaOfUse_swigregister = _osr.AreaOfUse_swigregister 344 AreaOfUse_swigregister(AreaOfUse) 345 346
347 -def OSRAreaOfUse_west_lon_degree_get(*args):
348 """OSRAreaOfUse_west_lon_degree_get(AreaOfUse area) -> double""" 349 return _osr.OSRAreaOfUse_west_lon_degree_get(*args)
350
351 -def OSRAreaOfUse_south_lat_degree_get(*args):
352 """OSRAreaOfUse_south_lat_degree_get(AreaOfUse area) -> double""" 353 return _osr.OSRAreaOfUse_south_lat_degree_get(*args)
354
355 -def OSRAreaOfUse_east_lon_degree_get(*args):
356 """OSRAreaOfUse_east_lon_degree_get(AreaOfUse area) -> double""" 357 return _osr.OSRAreaOfUse_east_lon_degree_get(*args)
358
359 -def OSRAreaOfUse_north_lat_degree_get(*args):
360 """OSRAreaOfUse_north_lat_degree_get(AreaOfUse area) -> double""" 361 return _osr.OSRAreaOfUse_north_lat_degree_get(*args)
362
363 -def OSRAreaOfUse_name_get(*args):
364 """OSRAreaOfUse_name_get(AreaOfUse area) -> char const *""" 365 return _osr.OSRAreaOfUse_name_get(*args)
366 -class SpatialReference(_object):
367 """Proxy of C++ OSRSpatialReferenceShadow class.""" 368 369 __swig_setmethods__ = {} 370 __setattr__ = lambda self, name, value: _swig_setattr(self, SpatialReference, name, value) 371 __swig_getmethods__ = {} 372 __getattr__ = lambda self, name: _swig_getattr(self, SpatialReference, name) 373 __repr__ = _swig_repr 374
375 - def __init__(self, *args, **kwargs):
376 """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference""" 377 this = _osr.new_SpatialReference(*args, **kwargs) 378 try: 379 self.this.append(this) 380 except __builtin__.Exception: 381 self.this = this
382 __swig_destroy__ = _osr.delete_SpatialReference 383 __del__ = lambda self: None 384
385 - def __str__(self, *args):
386 """__str__(SpatialReference self) -> retStringAndCPLFree *""" 387 return _osr.SpatialReference___str__(self, *args)
388 389
390 - def GetName(self, *args):
391 """GetName(SpatialReference self) -> char const *""" 392 return _osr.SpatialReference_GetName(self, *args)
393 394
395 - def IsSame(self, *args, **kwargs):
396 """IsSame(SpatialReference self, SpatialReference rhs, char ** options=None) -> int""" 397 return _osr.SpatialReference_IsSame(self, *args, **kwargs)
398 399
400 - def IsSameGeogCS(self, *args):
401 """IsSameGeogCS(SpatialReference self, SpatialReference rhs) -> int""" 402 return _osr.SpatialReference_IsSameGeogCS(self, *args)
403 404
405 - def IsSameVertCS(self, *args):
406 """IsSameVertCS(SpatialReference self, SpatialReference rhs) -> int""" 407 return _osr.SpatialReference_IsSameVertCS(self, *args)
408 409
410 - def IsGeographic(self, *args):
411 """IsGeographic(SpatialReference self) -> int""" 412 return _osr.SpatialReference_IsGeographic(self, *args)
413 414
415 - def IsDerivedGeographic(self, *args):
416 """IsDerivedGeographic(SpatialReference self) -> int""" 417 return _osr.SpatialReference_IsDerivedGeographic(self, *args)
418 419
420 - def IsProjected(self, *args):
421 """IsProjected(SpatialReference self) -> int""" 422 return _osr.SpatialReference_IsProjected(self, *args)
423 424
425 - def IsCompound(self, *args):
426 """IsCompound(SpatialReference self) -> int""" 427 return _osr.SpatialReference_IsCompound(self, *args)
428 429
430 - def IsGeocentric(self, *args):
431 """IsGeocentric(SpatialReference self) -> int""" 432 return _osr.SpatialReference_IsGeocentric(self, *args)
433 434
435 - def IsLocal(self, *args):
436 """IsLocal(SpatialReference self) -> int""" 437 return _osr.SpatialReference_IsLocal(self, *args)
438 439
440 - def IsVertical(self, *args):
441 """IsVertical(SpatialReference self) -> int""" 442 return _osr.SpatialReference_IsVertical(self, *args)
443 444
445 - def IsDynamic(self, *args):
446 """IsDynamic(SpatialReference self) -> bool""" 447 return _osr.SpatialReference_IsDynamic(self, *args)
448 449
450 - def GetCoordinateEpoch(self, *args):
451 """GetCoordinateEpoch(SpatialReference self) -> double""" 452 return _osr.SpatialReference_GetCoordinateEpoch(self, *args)
453 454
455 - def SetCoordinateEpoch(self, *args):
456 """SetCoordinateEpoch(SpatialReference self, double coordinateEpoch)""" 457 return _osr.SpatialReference_SetCoordinateEpoch(self, *args)
458 459
460 - def EPSGTreatsAsLatLong(self, *args):
461 """EPSGTreatsAsLatLong(SpatialReference self) -> int""" 462 return _osr.SpatialReference_EPSGTreatsAsLatLong(self, *args)
463 464
465 - def EPSGTreatsAsNorthingEasting(self, *args):
466 """EPSGTreatsAsNorthingEasting(SpatialReference self) -> int""" 467 return _osr.SpatialReference_EPSGTreatsAsNorthingEasting(self, *args)
468 469
470 - def SetAuthority(self, *args):
471 """SetAuthority(SpatialReference self, char const * pszTargetKey, char const * pszAuthority, int nCode) -> OGRErr""" 472 return _osr.SpatialReference_SetAuthority(self, *args)
473 474
475 - def GetAttrValue(self, *args):
476 """GetAttrValue(SpatialReference self, char const * name, int child=0) -> char const *""" 477 return _osr.SpatialReference_GetAttrValue(self, *args)
478 479
480 - def SetAttrValue(self, *args):
481 """SetAttrValue(SpatialReference self, char const * name, char const * value) -> OGRErr""" 482 return _osr.SpatialReference_SetAttrValue(self, *args)
483 484
485 - def SetAngularUnits(self, *args):
486 """SetAngularUnits(SpatialReference self, char const * name, double to_radians) -> OGRErr""" 487 return _osr.SpatialReference_SetAngularUnits(self, *args)
488 489
490 - def GetAngularUnits(self, *args):
491 """GetAngularUnits(SpatialReference self) -> double""" 492 return _osr.SpatialReference_GetAngularUnits(self, *args)
493 494
495 - def GetAngularUnitsName(self, *args):
496 """GetAngularUnitsName(SpatialReference self) -> char const *""" 497 return _osr.SpatialReference_GetAngularUnitsName(self, *args)
498 499
500 - def SetTargetLinearUnits(self, *args):
501 """SetTargetLinearUnits(SpatialReference self, char const * target, char const * name, double to_meters) -> OGRErr""" 502 return _osr.SpatialReference_SetTargetLinearUnits(self, *args)
503 504
505 - def SetLinearUnits(self, *args):
506 """SetLinearUnits(SpatialReference self, char const * name, double to_meters) -> OGRErr""" 507 return _osr.SpatialReference_SetLinearUnits(self, *args)
508 509
510 - def SetLinearUnitsAndUpdateParameters(self, *args):
511 """SetLinearUnitsAndUpdateParameters(SpatialReference self, char const * name, double to_meters) -> OGRErr""" 512 return _osr.SpatialReference_SetLinearUnitsAndUpdateParameters(self, *args)
513 514
515 - def GetTargetLinearUnits(self, *args):
516 """GetTargetLinearUnits(SpatialReference self, char const * target_key) -> double""" 517 return _osr.SpatialReference_GetTargetLinearUnits(self, *args)
518 519
520 - def GetLinearUnits(self, *args):
521 """GetLinearUnits(SpatialReference self) -> double""" 522 return _osr.SpatialReference_GetLinearUnits(self, *args)
523 524
525 - def GetLinearUnitsName(self, *args):
526 """GetLinearUnitsName(SpatialReference self) -> char const *""" 527 return _osr.SpatialReference_GetLinearUnitsName(self, *args)
528 529
530 - def GetAuthorityCode(self, *args):
531 """GetAuthorityCode(SpatialReference self, char const * target_key) -> char const *""" 532 return _osr.SpatialReference_GetAuthorityCode(self, *args)
533 534
535 - def GetAuthorityName(self, *args):
536 """GetAuthorityName(SpatialReference self, char const * target_key) -> char const *""" 537 return _osr.SpatialReference_GetAuthorityName(self, *args)
538 539
540 - def GetAreaOfUse(self, *args):
541 """GetAreaOfUse(SpatialReference self) -> AreaOfUse""" 542 return _osr.SpatialReference_GetAreaOfUse(self, *args)
543 544
545 - def GetAxisName(self, *args):
546 """GetAxisName(SpatialReference self, char const * target_key, int iAxis) -> char const *""" 547 return _osr.SpatialReference_GetAxisName(self, *args)
548 549
550 - def GetAxesCount(self, *args):
551 """GetAxesCount(SpatialReference self) -> int""" 552 return _osr.SpatialReference_GetAxesCount(self, *args)
553 554
555 - def GetAxisOrientation(self, *args):
556 """GetAxisOrientation(SpatialReference self, char const * target_key, int iAxis) -> OGRAxisOrientation""" 557 return _osr.SpatialReference_GetAxisOrientation(self, *args)
558 559
560 - def GetAxisMappingStrategy(self, *args):
561 """GetAxisMappingStrategy(SpatialReference self) -> OSRAxisMappingStrategy""" 562 return _osr.SpatialReference_GetAxisMappingStrategy(self, *args)
563 564
565 - def SetAxisMappingStrategy(self, *args):
566 """SetAxisMappingStrategy(SpatialReference self, OSRAxisMappingStrategy strategy)""" 567 return _osr.SpatialReference_SetAxisMappingStrategy(self, *args)
568 569
570 - def GetDataAxisToSRSAxisMapping(self, *args):
571 """GetDataAxisToSRSAxisMapping(SpatialReference self)""" 572 return _osr.SpatialReference_GetDataAxisToSRSAxisMapping(self, *args)
573 574
575 - def SetDataAxisToSRSAxisMapping(self, *args):
576 """SetDataAxisToSRSAxisMapping(SpatialReference self, int nList) -> OGRErr""" 577 return _osr.SpatialReference_SetDataAxisToSRSAxisMapping(self, *args)
578 579
580 - def SetUTM(self, *args):
581 """SetUTM(SpatialReference self, int zone, int north=1) -> OGRErr""" 582 return _osr.SpatialReference_SetUTM(self, *args)
583 584
585 - def GetUTMZone(self, *args):
586 """GetUTMZone(SpatialReference self) -> int""" 587 return _osr.SpatialReference_GetUTMZone(self, *args)
588 589
590 - def SetStatePlane(self, *args):
591 """SetStatePlane(SpatialReference self, int zone, int is_nad83=1, char const * unitsname, double units=0.0) -> OGRErr""" 592 return _osr.SpatialReference_SetStatePlane(self, *args)
593 594
595 - def AutoIdentifyEPSG(self, *args):
596 """AutoIdentifyEPSG(SpatialReference self) -> OGRErr""" 597 return _osr.SpatialReference_AutoIdentifyEPSG(self, *args)
598 599
600 - def FindMatches(self, *args):
601 """FindMatches(SpatialReference self, char ** options=None)""" 602 return _osr.SpatialReference_FindMatches(self, *args)
603 604
605 - def SetProjection(self, *args):
606 """SetProjection(SpatialReference self, char const * arg) -> OGRErr""" 607 return _osr.SpatialReference_SetProjection(self, *args)
608 609
610 - def SetProjParm(self, *args):
611 """SetProjParm(SpatialReference self, char const * name, double val) -> OGRErr""" 612 return _osr.SpatialReference_SetProjParm(self, *args)
613 614
615 - def GetProjParm(self, *args):
616 """GetProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double""" 617 return _osr.SpatialReference_GetProjParm(self, *args)
618 619
620 - def SetNormProjParm(self, *args):
621 """SetNormProjParm(SpatialReference self, char const * name, double val) -> OGRErr""" 622 return _osr.SpatialReference_SetNormProjParm(self, *args)
623 624
625 - def GetNormProjParm(self, *args):
626 """GetNormProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double""" 627 return _osr.SpatialReference_GetNormProjParm(self, *args)
628 629
630 - def GetSemiMajor(self, *args):
631 """GetSemiMajor(SpatialReference self) -> double""" 632 return _osr.SpatialReference_GetSemiMajor(self, *args)
633 634
635 - def GetSemiMinor(self, *args):
636 """GetSemiMinor(SpatialReference self) -> double""" 637 return _osr.SpatialReference_GetSemiMinor(self, *args)
638 639
640 - def GetInvFlattening(self, *args):
641 """GetInvFlattening(SpatialReference self) -> double""" 642 return _osr.SpatialReference_GetInvFlattening(self, *args)
643 644
645 - def SetACEA(self, *args, **kwargs):
646 """SetACEA(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 647 return _osr.SpatialReference_SetACEA(self, *args, **kwargs)
648 649
650 - def SetAE(self, *args, **kwargs):
651 """SetAE(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 652 return _osr.SpatialReference_SetAE(self, *args, **kwargs)
653 654
655 - def SetBonne(self, *args, **kwargs):
656 """SetBonne(SpatialReference self, double stdp, double cm, double fe, double fn) -> OGRErr""" 657 return _osr.SpatialReference_SetBonne(self, *args, **kwargs)
658 659
660 - def SetCEA(self, *args, **kwargs):
661 """SetCEA(SpatialReference self, double stdp1, double cm, double fe, double fn) -> OGRErr""" 662 return _osr.SpatialReference_SetCEA(self, *args, **kwargs)
663 664
665 - def SetCS(self, *args, **kwargs):
666 """SetCS(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 667 return _osr.SpatialReference_SetCS(self, *args, **kwargs)
668 669
670 - def SetEC(self, *args, **kwargs):
671 """SetEC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 672 return _osr.SpatialReference_SetEC(self, *args, **kwargs)
673 674
675 - def SetEckertIV(self, *args, **kwargs):
676 """SetEckertIV(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 677 return _osr.SpatialReference_SetEckertIV(self, *args, **kwargs)
678 679
680 - def SetEckertVI(self, *args, **kwargs):
681 """SetEckertVI(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 682 return _osr.SpatialReference_SetEckertVI(self, *args, **kwargs)
683 684
685 - def SetEquirectangular(self, *args, **kwargs):
686 """SetEquirectangular(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 687 return _osr.SpatialReference_SetEquirectangular(self, *args, **kwargs)
688 689
690 - def SetEquirectangular2(self, *args, **kwargs):
691 """SetEquirectangular2(SpatialReference self, double clat, double clong, double pseudostdparallellat, double fe, double fn) -> OGRErr""" 692 return _osr.SpatialReference_SetEquirectangular2(self, *args, **kwargs)
693 694
695 - def SetGaussSchreiberTMercator(self, *args, **kwargs):
696 """SetGaussSchreiberTMercator(SpatialReference self, double clat, double clong, double sc, double fe, double fn) -> OGRErr""" 697 return _osr.SpatialReference_SetGaussSchreiberTMercator(self, *args, **kwargs)
698 699
700 - def SetGS(self, *args, **kwargs):
701 """SetGS(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 702 return _osr.SpatialReference_SetGS(self, *args, **kwargs)
703 704
705 - def SetGH(self, *args, **kwargs):
706 """SetGH(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 707 return _osr.SpatialReference_SetGH(self, *args, **kwargs)
708 709
710 - def SetIGH(self, *args):
711 """SetIGH(SpatialReference self) -> OGRErr""" 712 return _osr.SpatialReference_SetIGH(self, *args)
713 714
715 - def SetGEOS(self, *args, **kwargs):
716 """SetGEOS(SpatialReference self, double cm, double satelliteheight, double fe, double fn) -> OGRErr""" 717 return _osr.SpatialReference_SetGEOS(self, *args, **kwargs)
718 719
720 - def SetGnomonic(self, *args, **kwargs):
721 """SetGnomonic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 722 return _osr.SpatialReference_SetGnomonic(self, *args, **kwargs)
723 724
725 - def SetHOM(self, *args, **kwargs):
726 """SetHOM(SpatialReference self, double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) -> OGRErr""" 727 return _osr.SpatialReference_SetHOM(self, *args, **kwargs)
728 729
730 - def SetHOM2PNO(self, *args, **kwargs):
731 """SetHOM2PNO(SpatialReference self, double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) -> OGRErr""" 732 return _osr.SpatialReference_SetHOM2PNO(self, *args, **kwargs)
733 734
735 - def SetKrovak(self, *args, **kwargs):
736 """SetKrovak(SpatialReference self, double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) -> OGRErr""" 737 return _osr.SpatialReference_SetKrovak(self, *args, **kwargs)
738 739
740 - def SetLAEA(self, *args, **kwargs):
741 """SetLAEA(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 742 return _osr.SpatialReference_SetLAEA(self, *args, **kwargs)
743 744
745 - def SetLCC(self, *args, **kwargs):
746 """SetLCC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 747 return _osr.SpatialReference_SetLCC(self, *args, **kwargs)
748 749
750 - def SetLCC1SP(self, *args, **kwargs):
751 """SetLCC1SP(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 752 return _osr.SpatialReference_SetLCC1SP(self, *args, **kwargs)
753 754
755 - def SetLCCB(self, *args, **kwargs):
756 """SetLCCB(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 757 return _osr.SpatialReference_SetLCCB(self, *args, **kwargs)
758 759
760 - def SetMC(self, *args, **kwargs):
761 """SetMC(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 762 return _osr.SpatialReference_SetMC(self, *args, **kwargs)
763 764
765 - def SetMercator(self, *args, **kwargs):
766 """SetMercator(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 767 return _osr.SpatialReference_SetMercator(self, *args, **kwargs)
768 769
770 - def SetMercator2SP(self, *args, **kwargs):
771 """SetMercator2SP(SpatialReference self, double stdp1, double clat, double clong, double fe, double fn) -> OGRErr""" 772 return _osr.SpatialReference_SetMercator2SP(self, *args, **kwargs)
773 774
775 - def SetMollweide(self, *args, **kwargs):
776 """SetMollweide(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 777 return _osr.SpatialReference_SetMollweide(self, *args, **kwargs)
778 779
780 - def SetNZMG(self, *args, **kwargs):
781 """SetNZMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 782 return _osr.SpatialReference_SetNZMG(self, *args, **kwargs)
783 784
785 - def SetOS(self, *args, **kwargs):
786 """SetOS(SpatialReference self, double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) -> OGRErr""" 787 return _osr.SpatialReference_SetOS(self, *args, **kwargs)
788 789
790 - def SetOrthographic(self, *args, **kwargs):
791 """SetOrthographic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 792 return _osr.SpatialReference_SetOrthographic(self, *args, **kwargs)
793 794
795 - def SetPolyconic(self, *args, **kwargs):
796 """SetPolyconic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 797 return _osr.SpatialReference_SetPolyconic(self, *args, **kwargs)
798 799
800 - def SetPS(self, *args, **kwargs):
801 """SetPS(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 802 return _osr.SpatialReference_SetPS(self, *args, **kwargs)
803 804
805 - def SetRobinson(self, *args, **kwargs):
806 """SetRobinson(SpatialReference self, double clong, double fe, double fn) -> OGRErr""" 807 return _osr.SpatialReference_SetRobinson(self, *args, **kwargs)
808 809
810 - def SetSinusoidal(self, *args, **kwargs):
811 """SetSinusoidal(SpatialReference self, double clong, double fe, double fn) -> OGRErr""" 812 return _osr.SpatialReference_SetSinusoidal(self, *args, **kwargs)
813 814
815 - def SetStereographic(self, *args, **kwargs):
816 """SetStereographic(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 817 return _osr.SpatialReference_SetStereographic(self, *args, **kwargs)
818 819
820 - def SetSOC(self, *args, **kwargs):
821 """SetSOC(SpatialReference self, double latitudeoforigin, double cm, double fe, double fn) -> OGRErr""" 822 return _osr.SpatialReference_SetSOC(self, *args, **kwargs)
823 824
825 - def SetTM(self, *args, **kwargs):
826 """SetTM(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 827 return _osr.SpatialReference_SetTM(self, *args, **kwargs)
828 829
830 - def SetTMVariant(self, *args, **kwargs):
831 """SetTMVariant(SpatialReference self, char const * pszVariantName, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 832 return _osr.SpatialReference_SetTMVariant(self, *args, **kwargs)
833 834
835 - def SetTMG(self, *args, **kwargs):
836 """SetTMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 837 return _osr.SpatialReference_SetTMG(self, *args, **kwargs)
838 839
840 - def SetTMSO(self, *args, **kwargs):
841 """SetTMSO(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 842 return _osr.SpatialReference_SetTMSO(self, *args, **kwargs)
843 844
845 - def SetVDG(self, *args, **kwargs):
846 """SetVDG(SpatialReference self, double clong, double fe, double fn) -> OGRErr""" 847 return _osr.SpatialReference_SetVDG(self, *args, **kwargs)
848 849
850 - def SetVerticalPerspective(self, *args, **kwargs):
851 """SetVerticalPerspective(SpatialReference self, double topoOriginLat, double topoOriginLon, double topoOriginHeight, double viewPointHeight, double fe, double fn) -> OGRErr""" 852 return _osr.SpatialReference_SetVerticalPerspective(self, *args, **kwargs)
853 854
855 - def SetWellKnownGeogCS(self, *args):
856 """SetWellKnownGeogCS(SpatialReference self, char const * name) -> OGRErr""" 857 return _osr.SpatialReference_SetWellKnownGeogCS(self, *args)
858 859
860 - def SetFromUserInput(self, *args):
861 """SetFromUserInput(SpatialReference self, char const * name) -> OGRErr""" 862 return _osr.SpatialReference_SetFromUserInput(self, *args)
863 864
865 - def CopyGeogCSFrom(self, *args):
866 """CopyGeogCSFrom(SpatialReference self, SpatialReference rhs) -> OGRErr""" 867 return _osr.SpatialReference_CopyGeogCSFrom(self, *args)
868 869
870 - def SetTOWGS84(self, *args):
871 """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""" 872 return _osr.SpatialReference_SetTOWGS84(self, *args)
873 874
875 - def HasTOWGS84(self, *args):
876 """HasTOWGS84(SpatialReference self) -> bool""" 877 return _osr.SpatialReference_HasTOWGS84(self, *args)
878 879
880 - def GetTOWGS84(self, *args):
881 """GetTOWGS84(SpatialReference self) -> OGRErr""" 882 return _osr.SpatialReference_GetTOWGS84(self, *args)
883 884
885 - def AddGuessedTOWGS84(self, *args):
886 """AddGuessedTOWGS84(SpatialReference self) -> OGRErr""" 887 return _osr.SpatialReference_AddGuessedTOWGS84(self, *args)
888 889
890 - def SetLocalCS(self, *args):
891 """SetLocalCS(SpatialReference self, char const * pszName) -> OGRErr""" 892 return _osr.SpatialReference_SetLocalCS(self, *args)
893 894
895 - def SetGeogCS(self, *args):
896 """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""" 897 return _osr.SpatialReference_SetGeogCS(self, *args)
898 899
900 - def SetProjCS(self, *args):
901 """SetProjCS(SpatialReference self, char const * name) -> OGRErr""" 902 return _osr.SpatialReference_SetProjCS(self, *args)
903 904
905 - def SetGeocCS(self, *args):
906 """SetGeocCS(SpatialReference self, char const * name) -> OGRErr""" 907 return _osr.SpatialReference_SetGeocCS(self, *args)
908 909
910 - def SetVertCS(self, *args):
911 """SetVertCS(SpatialReference self, char const * VertCSName, char const * VertDatumName, int VertDatumType=0) -> OGRErr""" 912 return _osr.SpatialReference_SetVertCS(self, *args)
913 914
915 - def SetCompoundCS(self, *args):
916 """SetCompoundCS(SpatialReference self, char const * name, SpatialReference horizcs, SpatialReference vertcs) -> OGRErr""" 917 return _osr.SpatialReference_SetCompoundCS(self, *args)
918 919
920 - def ImportFromWkt(self, *args):
921 """ImportFromWkt(SpatialReference self, char ** ppszInput) -> OGRErr""" 922 return _osr.SpatialReference_ImportFromWkt(self, *args)
923 924
925 - def ImportFromProj4(self, *args):
926 """ImportFromProj4(SpatialReference self, char * ppszInput) -> OGRErr""" 927 return _osr.SpatialReference_ImportFromProj4(self, *args)
928 929
930 - def ImportFromUrl(self, *args):
931 """ImportFromUrl(SpatialReference self, char * url) -> OGRErr""" 932 return _osr.SpatialReference_ImportFromUrl(self, *args)
933 934
935 - def ImportFromESRI(self, *args):
936 """ImportFromESRI(SpatialReference self, char ** ppszInput) -> OGRErr""" 937 return _osr.SpatialReference_ImportFromESRI(self, *args)
938 939
940 - def ImportFromEPSG(self, *args):
941 """ImportFromEPSG(SpatialReference self, int arg) -> OGRErr""" 942 return _osr.SpatialReference_ImportFromEPSG(self, *args)
943 944
945 - def ImportFromEPSGA(self, *args):
946 """ImportFromEPSGA(SpatialReference self, int arg) -> OGRErr""" 947 return _osr.SpatialReference_ImportFromEPSGA(self, *args)
948 949
950 - def ImportFromPCI(self, *args):
951 """ImportFromPCI(SpatialReference self, char const * proj, char const * units, double [17] argin=0) -> OGRErr""" 952 return _osr.SpatialReference_ImportFromPCI(self, *args)
953 954
955 - def ImportFromUSGS(self, *args):
956 """ImportFromUSGS(SpatialReference self, long proj_code, long zone=0, double [15] argin=0, long datum_code=0) -> OGRErr""" 957 return _osr.SpatialReference_ImportFromUSGS(self, *args)
958 959
960 - def ImportFromXML(self, *args):
961 """ImportFromXML(SpatialReference self, char const * xmlString) -> OGRErr""" 962 return _osr.SpatialReference_ImportFromXML(self, *args)
963 964
965 - def ImportFromERM(self, *args):
966 """ImportFromERM(SpatialReference self, char const * proj, char const * datum, char const * units) -> OGRErr""" 967 return _osr.SpatialReference_ImportFromERM(self, *args)
968 969
970 - def ImportFromMICoordSys(self, *args):
971 """ImportFromMICoordSys(SpatialReference self, char const * pszCoordSys) -> OGRErr""" 972 return _osr.SpatialReference_ImportFromMICoordSys(self, *args)
973 974
975 - def ImportFromOzi(self, *args):
976 """ImportFromOzi(SpatialReference self, char const *const * papszLines) -> OGRErr""" 977 return _osr.SpatialReference_ImportFromOzi(self, *args)
978 979
980 - def ExportToWkt(self, *args):
981 """ExportToWkt(SpatialReference self, char ** options=None) -> OGRErr""" 982 return _osr.SpatialReference_ExportToWkt(self, *args)
983 984
985 - def ExportToPrettyWkt(self, *args):
986 """ExportToPrettyWkt(SpatialReference self, int simplify=0) -> OGRErr""" 987 return _osr.SpatialReference_ExportToPrettyWkt(self, *args)
988 989
990 - def ExportToPROJJSON(self, *args):
991 """ExportToPROJJSON(SpatialReference self, char ** options=None) -> OGRErr""" 992 return _osr.SpatialReference_ExportToPROJJSON(self, *args)
993 994
995 - def ExportToProj4(self, *args):
996 """ExportToProj4(SpatialReference self) -> OGRErr""" 997 return _osr.SpatialReference_ExportToProj4(self, *args)
998 999
1000 - def ExportToPCI(self, *args):
1001 """ExportToPCI(SpatialReference self) -> OGRErr""" 1002 return _osr.SpatialReference_ExportToPCI(self, *args)
1003 1004
1005 - def ExportToUSGS(self, *args):
1006 """ExportToUSGS(SpatialReference self) -> OGRErr""" 1007 return _osr.SpatialReference_ExportToUSGS(self, *args)
1008 1009
1010 - def ExportToXML(self, *args):
1011 """ExportToXML(SpatialReference self, char const * dialect) -> OGRErr""" 1012 return _osr.SpatialReference_ExportToXML(self, *args)
1013 1014
1015 - def ExportToMICoordSys(self, *args):
1016 """ExportToMICoordSys(SpatialReference self) -> OGRErr""" 1017 return _osr.SpatialReference_ExportToMICoordSys(self, *args)
1018 1019
1020 - def CloneGeogCS(self, *args):
1021 """CloneGeogCS(SpatialReference self) -> SpatialReference""" 1022 return _osr.SpatialReference_CloneGeogCS(self, *args)
1023 1024
1025 - def Clone(self, *args):
1026 """Clone(SpatialReference self) -> SpatialReference""" 1027 return _osr.SpatialReference_Clone(self, *args)
1028 1029
1030 - def Validate(self, *args):
1031 """Validate(SpatialReference self) -> OGRErr""" 1032 return _osr.SpatialReference_Validate(self, *args)
1033 1034
1035 - def MorphToESRI(self, *args):
1036 """MorphToESRI(SpatialReference self) -> OGRErr""" 1037 return _osr.SpatialReference_MorphToESRI(self, *args)
1038 1039
1040 - def MorphFromESRI(self, *args):
1041 """MorphFromESRI(SpatialReference self) -> OGRErr""" 1042 return _osr.SpatialReference_MorphFromESRI(self, *args)
1043 1044
1045 - def ConvertToOtherProjection(self, *args):
1046 """ConvertToOtherProjection(SpatialReference self, char const * other_projection, char ** options=None) -> SpatialReference""" 1047 return _osr.SpatialReference_ConvertToOtherProjection(self, *args)
1048 1049
1050 - def PromoteTo3D(self, *args):
1051 """PromoteTo3D(SpatialReference self, char const * name=None) -> OGRErr""" 1052 return _osr.SpatialReference_PromoteTo3D(self, *args)
1053 1054
1055 - def DemoteTo2D(self, *args):
1056 """DemoteTo2D(SpatialReference self, char const * name=None) -> OGRErr""" 1057 return _osr.SpatialReference_DemoteTo2D(self, *args)
1058 1059 1060
1061 - def __init__(self, *args, **kwargs):
1062 """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference""" 1063 oldval = _osr.GetUseExceptions() 1064 if not oldval: 1065 _osr.UseExceptions() 1066 try: 1067 this = _osr.new_SpatialReference(*args, **kwargs) 1068 finally: 1069 if not oldval: 1070 _osr.DontUseExceptions() 1071 try: 1072 self.this.append(this) 1073 except __builtin__.Exception: 1074 self.this = this
1075 1076 1077 SpatialReference_swigregister = _osr.SpatialReference_swigregister 1078 SpatialReference_swigregister(SpatialReference) 1079
1080 -class CoordinateTransformationOptions(_object):
1081 """Proxy of C++ OGRCoordinateTransformationOptions class.""" 1082 1083 __swig_setmethods__ = {} 1084 __setattr__ = lambda self, name, value: _swig_setattr(self, CoordinateTransformationOptions, name, value) 1085 __swig_getmethods__ = {} 1086 __getattr__ = lambda self, name: _swig_getattr(self, CoordinateTransformationOptions, name) 1087 __repr__ = _swig_repr 1088
1089 - def __init__(self, *args):
1090 """__init__(OGRCoordinateTransformationOptions self) -> CoordinateTransformationOptions""" 1091 this = _osr.new_CoordinateTransformationOptions(*args) 1092 try: 1093 self.this.append(this) 1094 except __builtin__.Exception: 1095 self.this = this
1096 __swig_destroy__ = _osr.delete_CoordinateTransformationOptions 1097 __del__ = lambda self: None 1098
1099 - def SetAreaOfInterest(self, *args):
1100 """SetAreaOfInterest(CoordinateTransformationOptions self, double westLongitudeDeg, double southLatitudeDeg, double eastLongitudeDeg, double northLatitudeDeg) -> bool""" 1101 return _osr.CoordinateTransformationOptions_SetAreaOfInterest(self, *args)
1102 1103
1104 - def SetOperation(self, *args):
1105 """SetOperation(CoordinateTransformationOptions self, char const * operation) -> bool""" 1106 return _osr.CoordinateTransformationOptions_SetOperation(self, *args)
1107 1108
1109 - def SetDesiredAccuracy(self, *args):
1110 """SetDesiredAccuracy(CoordinateTransformationOptions self, double accuracy) -> bool""" 1111 return _osr.CoordinateTransformationOptions_SetDesiredAccuracy(self, *args)
1112 1113
1114 - def SetBallparkAllowed(self, *args):
1115 """SetBallparkAllowed(CoordinateTransformationOptions self, bool allowBallpark) -> bool""" 1116 return _osr.CoordinateTransformationOptions_SetBallparkAllowed(self, *args)
1117 1118 CoordinateTransformationOptions_swigregister = _osr.CoordinateTransformationOptions_swigregister 1119 CoordinateTransformationOptions_swigregister(CoordinateTransformationOptions) 1120
1121 -class CoordinateTransformation(_object):
1122 """Proxy of C++ OSRCoordinateTransformationShadow class.""" 1123 1124 __swig_setmethods__ = {} 1125 __setattr__ = lambda self, name, value: _swig_setattr(self, CoordinateTransformation, name, value) 1126 __swig_getmethods__ = {} 1127 __getattr__ = lambda self, name: _swig_getattr(self, CoordinateTransformation, name) 1128 __repr__ = _swig_repr 1129
1130 - def __init__(self, *args):
1131 """ 1132 __init__(OSRCoordinateTransformationShadow self, SpatialReference src, SpatialReference dst) -> CoordinateTransformation 1133 __init__(OSRCoordinateTransformationShadow self, SpatialReference src, SpatialReference dst, CoordinateTransformationOptions options) -> CoordinateTransformation 1134 """ 1135 this = _osr.new_CoordinateTransformation(*args) 1136 try: 1137 self.this.append(this) 1138 except __builtin__.Exception: 1139 self.this = this
1140 __swig_destroy__ = _osr.delete_CoordinateTransformation 1141 __del__ = lambda self: None 1142
1143 - def TransformPoint(self, *args):
1144 """ 1145 TransformPoint(CoordinateTransformation self, double [3] inout) 1146 TransformPoint(CoordinateTransformation self, double [4] inout) 1147 TransformPoint(CoordinateTransformation self, double x, double y, double z=0.0) 1148 TransformPoint(CoordinateTransformation self, double x, double y, double z, double t) 1149 """ 1150 return _osr.CoordinateTransformation_TransformPoint(self, *args)
1151 1152
1153 - def TransformPointWithErrorCode(self, *args):
1154 """TransformPointWithErrorCode(CoordinateTransformation self, double x, double y, double z, double t)""" 1155 return _osr.CoordinateTransformation_TransformPointWithErrorCode(self, *args)
1156 1157
1158 - def TransformPoints(self, *args):
1159 """TransformPoints(CoordinateTransformation self, int nCount)""" 1160 return _osr.CoordinateTransformation_TransformPoints(self, *args)
1161 1162
1163 - def TransformBounds(self, *args):
1164 """TransformBounds(CoordinateTransformation self, double minx, double miny, double maxx, double maxy, int densify_pts)""" 1165 return _osr.CoordinateTransformation_TransformBounds(self, *args)
1166 1167 CoordinateTransformation_swigregister = _osr.CoordinateTransformation_swigregister 1168 CoordinateTransformation_swigregister(CoordinateTransformation) 1169 1170
1171 -def CreateCoordinateTransformation(*args):
1172 """CreateCoordinateTransformation(SpatialReference src, SpatialReference dst, CoordinateTransformationOptions options=None) -> CoordinateTransformation""" 1173 return _osr.CreateCoordinateTransformation(*args)
1174 OSR_CRS_TYPE_GEOGRAPHIC_2D = _osr.OSR_CRS_TYPE_GEOGRAPHIC_2D 1175 OSR_CRS_TYPE_GEOGRAPHIC_3D = _osr.OSR_CRS_TYPE_GEOGRAPHIC_3D 1176 OSR_CRS_TYPE_GEOCENTRIC = _osr.OSR_CRS_TYPE_GEOCENTRIC 1177 OSR_CRS_TYPE_PROJECTED = _osr.OSR_CRS_TYPE_PROJECTED 1178 OSR_CRS_TYPE_VERTICAL = _osr.OSR_CRS_TYPE_VERTICAL 1179 OSR_CRS_TYPE_COMPOUND = _osr.OSR_CRS_TYPE_COMPOUND 1180 OSR_CRS_TYPE_OTHER = _osr.OSR_CRS_TYPE_OTHER
1181 -class CRSInfo(_object):
1182 """Proxy of C++ OSRCRSInfo class.""" 1183 1184 __swig_setmethods__ = {} 1185 __setattr__ = lambda self, name, value: _swig_setattr(self, CRSInfo, name, value) 1186 __swig_getmethods__ = {} 1187 __getattr__ = lambda self, name: _swig_getattr(self, CRSInfo, name) 1188 __repr__ = _swig_repr 1189 __swig_getmethods__["auth_name"] = _osr.CRSInfo_auth_name_get 1190 if _newclass: 1191 auth_name = _swig_property(_osr.CRSInfo_auth_name_get) 1192 __swig_getmethods__["code"] = _osr.CRSInfo_code_get 1193 if _newclass: 1194 code = _swig_property(_osr.CRSInfo_code_get) 1195 __swig_getmethods__["name"] = _osr.CRSInfo_name_get 1196 if _newclass: 1197 name = _swig_property(_osr.CRSInfo_name_get) 1198 __swig_getmethods__["type"] = _osr.CRSInfo_type_get 1199 if _newclass: 1200 type = _swig_property(_osr.CRSInfo_type_get) 1201 __swig_getmethods__["deprecated"] = _osr.CRSInfo_deprecated_get 1202 if _newclass: 1203 deprecated = _swig_property(_osr.CRSInfo_deprecated_get) 1204 __swig_getmethods__["bbox_valid"] = _osr.CRSInfo_bbox_valid_get 1205 if _newclass: 1206 bbox_valid = _swig_property(_osr.CRSInfo_bbox_valid_get) 1207 __swig_getmethods__["west_lon_degree"] = _osr.CRSInfo_west_lon_degree_get 1208 if _newclass: 1209 west_lon_degree = _swig_property(_osr.CRSInfo_west_lon_degree_get) 1210 __swig_getmethods__["south_lat_degree"] = _osr.CRSInfo_south_lat_degree_get 1211 if _newclass: 1212 south_lat_degree = _swig_property(_osr.CRSInfo_south_lat_degree_get) 1213 __swig_getmethods__["east_lon_degree"] = _osr.CRSInfo_east_lon_degree_get 1214 if _newclass: 1215 east_lon_degree = _swig_property(_osr.CRSInfo_east_lon_degree_get) 1216 __swig_getmethods__["north_lat_degree"] = _osr.CRSInfo_north_lat_degree_get 1217 if _newclass: 1218 north_lat_degree = _swig_property(_osr.CRSInfo_north_lat_degree_get) 1219 __swig_getmethods__["area_name"] = _osr.CRSInfo_area_name_get 1220 if _newclass: 1221 area_name = _swig_property(_osr.CRSInfo_area_name_get) 1222 __swig_getmethods__["projection_method"] = _osr.CRSInfo_projection_method_get 1223 if _newclass: 1224 projection_method = _swig_property(_osr.CRSInfo_projection_method_get) 1225
1226 - def __init__(self, *args):
1227 """__init__(OSRCRSInfo self, char const * auth_name, char const * code, char const * name, OSRCRSType type, bool deprecated, bool bbox_valid, double west_lon_degree, double south_lat_degree, double east_lon_degree, double north_lat_degree, char const * area_name, char const * projection_method) -> CRSInfo""" 1228 this = _osr.new_CRSInfo(*args) 1229 try: 1230 self.this.append(this) 1231 except __builtin__.Exception: 1232 self.this = this
1233 __swig_destroy__ = _osr.delete_CRSInfo 1234 __del__ = lambda self: None
1235 CRSInfo_swigregister = _osr.CRSInfo_swigregister 1236 CRSInfo_swigregister(CRSInfo) 1237 1238
1239 -def OSRCRSInfo_auth_name_get(*args):
1240 """OSRCRSInfo_auth_name_get(CRSInfo crsInfo) -> char const *""" 1241 return _osr.OSRCRSInfo_auth_name_get(*args)
1242
1243 -def OSRCRSInfo_code_get(*args):
1244 """OSRCRSInfo_code_get(CRSInfo crsInfo) -> char const *""" 1245 return _osr.OSRCRSInfo_code_get(*args)
1246
1247 -def OSRCRSInfo_name_get(*args):
1248 """OSRCRSInfo_name_get(CRSInfo crsInfo) -> char const *""" 1249 return _osr.OSRCRSInfo_name_get(*args)
1250
1251 -def OSRCRSInfo_type_get(*args):
1252 """OSRCRSInfo_type_get(CRSInfo crsInfo) -> OSRCRSType""" 1253 return _osr.OSRCRSInfo_type_get(*args)
1254
1255 -def OSRCRSInfo_deprecated_get(*args):
1256 """OSRCRSInfo_deprecated_get(CRSInfo crsInfo) -> bool""" 1257 return _osr.OSRCRSInfo_deprecated_get(*args)
1258
1259 -def OSRCRSInfo_bbox_valid_get(*args):
1260 """OSRCRSInfo_bbox_valid_get(CRSInfo crsInfo) -> bool""" 1261 return _osr.OSRCRSInfo_bbox_valid_get(*args)
1262
1263 -def OSRCRSInfo_west_lon_degree_get(*args):
1264 """OSRCRSInfo_west_lon_degree_get(CRSInfo crsInfo) -> double""" 1265 return _osr.OSRCRSInfo_west_lon_degree_get(*args)
1266
1267 -def OSRCRSInfo_south_lat_degree_get(*args):
1268 """OSRCRSInfo_south_lat_degree_get(CRSInfo crsInfo) -> double""" 1269 return _osr.OSRCRSInfo_south_lat_degree_get(*args)
1270
1271 -def OSRCRSInfo_east_lon_degree_get(*args):
1272 """OSRCRSInfo_east_lon_degree_get(CRSInfo crsInfo) -> double""" 1273 return _osr.OSRCRSInfo_east_lon_degree_get(*args)
1274
1275 -def OSRCRSInfo_north_lat_degree_get(*args):
1276 """OSRCRSInfo_north_lat_degree_get(CRSInfo crsInfo) -> double""" 1277 return _osr.OSRCRSInfo_north_lat_degree_get(*args)
1278
1279 -def OSRCRSInfo_area_name_get(*args):
1280 """OSRCRSInfo_area_name_get(CRSInfo crsInfo) -> char const *""" 1281 return _osr.OSRCRSInfo_area_name_get(*args)
1282
1283 -def OSRCRSInfo_projection_method_get(*args):
1284 """OSRCRSInfo_projection_method_get(CRSInfo crsInfo) -> char const *""" 1285 return _osr.OSRCRSInfo_projection_method_get(*args)
1286
1287 -def GetCRSInfoListFromDatabase(*args):
1288 """GetCRSInfoListFromDatabase(char const * authName)""" 1289 return _osr.GetCRSInfoListFromDatabase(*args)
1290
1291 -def SetPROJSearchPath(*args):
1292 """SetPROJSearchPath(char const * utf8_path)""" 1293 return _osr.SetPROJSearchPath(*args)
1294
1295 -def SetPROJSearchPaths(*args):
1296 """SetPROJSearchPaths(char ** paths)""" 1297 return _osr.SetPROJSearchPaths(*args)
1298
1299 -def GetPROJSearchPaths(*args):
1300 """GetPROJSearchPaths() -> char **""" 1301 return _osr.GetPROJSearchPaths(*args)
1302
1303 -def GetPROJVersionMajor(*args):
1304 """GetPROJVersionMajor() -> int""" 1305 return _osr.GetPROJVersionMajor(*args)
1306
1307 -def GetPROJVersionMinor(*args):
1308 """GetPROJVersionMinor() -> int""" 1309 return _osr.GetPROJVersionMinor(*args)
1310
1311 -def GetPROJVersionMicro(*args):
1312 """GetPROJVersionMicro() -> int""" 1313 return _osr.GetPROJVersionMicro(*args)
1314
1315 -def GetPROJEnableNetwork(*args):
1316 """GetPROJEnableNetwork() -> bool""" 1317 return _osr.GetPROJEnableNetwork(*args)
1318
1319 -def SetPROJEnableNetwork(*args):
1320 """SetPROJEnableNetwork(bool enabled)""" 1321 return _osr.SetPROJEnableNetwork(*args)
1322
1323 -def SetPROJAuxDbPath(*args):
1324 """SetPROJAuxDbPath(char const * utf8_path)""" 1325 return _osr.SetPROJAuxDbPath(*args)
1326
1327 -def SetPROJAuxDbPaths(*args):
1328 """SetPROJAuxDbPaths(char ** paths)""" 1329 return _osr.SetPROJAuxDbPaths(*args)
1330
1331 -def GetPROJAuxDbPaths(*args):
1332 """GetPROJAuxDbPaths() -> char **""" 1333 return _osr.GetPROJAuxDbPaths(*args)
1334 # This file is compatible with both classic and new-style classes. 1335