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