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_swigconstant(_osr) 95 SRS_WKT_WGS84 = _osr.SRS_WKT_WGS84 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 -def GetUseExceptions(*args):
614 """GetUseExceptions() -> int""" 615 return _osr.GetUseExceptions(*args)
616
617 -def UseExceptions(*args):
618 """UseExceptions()""" 619 return _osr.UseExceptions(*args)
620
621 -def DontUseExceptions(*args):
622 """DontUseExceptions()""" 623 return _osr.DontUseExceptions(*args)
624
625 -def GetWellKnownGeogCSAsWKT(*args):
626 """GetWellKnownGeogCSAsWKT(char const * name) -> OGRErr""" 627 return _osr.GetWellKnownGeogCSAsWKT(*args)
628
629 -def GetUserInputAsWKT(*args):
630 """GetUserInputAsWKT(char const * name) -> OGRErr""" 631 return _osr.GetUserInputAsWKT(*args)
632 -class SpatialReference(_object):
633 """Proxy of C++ OSRSpatialReferenceShadow class.""" 634 635 __swig_setmethods__ = {} 636 __setattr__ = lambda self, name, value: _swig_setattr(self, SpatialReference, name, value) 637 __swig_getmethods__ = {} 638 __getattr__ = lambda self, name: _swig_getattr(self, SpatialReference, name) 639 __repr__ = _swig_repr 640
641 - def __init__(self, *args, **kwargs):
642 """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference""" 643 this = _osr.new_SpatialReference(*args, **kwargs) 644 try: 645 self.this.append(this) 646 except Exception: 647 self.this = this
648 __swig_destroy__ = _osr.delete_SpatialReference 649 __del__ = lambda self: None 650
651 - def __str__(self, *args):
652 """__str__(SpatialReference self) -> retStringAndCPLFree *""" 653 return _osr.SpatialReference___str__(self, *args)
654 655
656 - def IsSame(self, *args):
657 """IsSame(SpatialReference self, SpatialReference rhs) -> int""" 658 return _osr.SpatialReference_IsSame(self, *args)
659 660
661 - def IsSameGeogCS(self, *args):
662 """IsSameGeogCS(SpatialReference self, SpatialReference rhs) -> int""" 663 return _osr.SpatialReference_IsSameGeogCS(self, *args)
664 665
666 - def IsSameVertCS(self, *args):
667 """IsSameVertCS(SpatialReference self, SpatialReference rhs) -> int""" 668 return _osr.SpatialReference_IsSameVertCS(self, *args)
669 670
671 - def IsGeographic(self, *args):
672 """IsGeographic(SpatialReference self) -> int""" 673 return _osr.SpatialReference_IsGeographic(self, *args)
674 675
676 - def IsProjected(self, *args):
677 """IsProjected(SpatialReference self) -> int""" 678 return _osr.SpatialReference_IsProjected(self, *args)
679 680
681 - def IsCompound(self, *args):
682 """IsCompound(SpatialReference self) -> int""" 683 return _osr.SpatialReference_IsCompound(self, *args)
684 685
686 - def IsGeocentric(self, *args):
687 """IsGeocentric(SpatialReference self) -> int""" 688 return _osr.SpatialReference_IsGeocentric(self, *args)
689 690
691 - def IsLocal(self, *args):
692 """IsLocal(SpatialReference self) -> int""" 693 return _osr.SpatialReference_IsLocal(self, *args)
694 695
696 - def IsVertical(self, *args):
697 """IsVertical(SpatialReference self) -> int""" 698 return _osr.SpatialReference_IsVertical(self, *args)
699 700
701 - def EPSGTreatsAsLatLong(self, *args):
702 """EPSGTreatsAsLatLong(SpatialReference self) -> int""" 703 return _osr.SpatialReference_EPSGTreatsAsLatLong(self, *args)
704 705
706 - def EPSGTreatsAsNorthingEasting(self, *args):
707 """EPSGTreatsAsNorthingEasting(SpatialReference self) -> int""" 708 return _osr.SpatialReference_EPSGTreatsAsNorthingEasting(self, *args)
709 710
711 - def SetAuthority(self, *args):
712 """SetAuthority(SpatialReference self, char const * pszTargetKey, char const * pszAuthority, int nCode) -> OGRErr""" 713 return _osr.SpatialReference_SetAuthority(self, *args)
714 715
716 - def GetAttrValue(self, *args):
717 """GetAttrValue(SpatialReference self, char const * name, int child=0) -> char const *""" 718 return _osr.SpatialReference_GetAttrValue(self, *args)
719 720
721 - def SetAttrValue(self, *args):
722 """SetAttrValue(SpatialReference self, char const * name, char const * value) -> OGRErr""" 723 return _osr.SpatialReference_SetAttrValue(self, *args)
724 725
726 - def SetAngularUnits(self, *args):
727 """SetAngularUnits(SpatialReference self, char const * name, double to_radians) -> OGRErr""" 728 return _osr.SpatialReference_SetAngularUnits(self, *args)
729 730
731 - def GetAngularUnits(self, *args):
732 """GetAngularUnits(SpatialReference self) -> double""" 733 return _osr.SpatialReference_GetAngularUnits(self, *args)
734 735
736 - def GetAngularUnitsName(self, *args):
737 """GetAngularUnitsName(SpatialReference self) -> char const *""" 738 return _osr.SpatialReference_GetAngularUnitsName(self, *args)
739 740
741 - def SetTargetLinearUnits(self, *args):
742 """SetTargetLinearUnits(SpatialReference self, char const * target, char const * name, double to_meters) -> OGRErr""" 743 return _osr.SpatialReference_SetTargetLinearUnits(self, *args)
744 745
746 - def SetLinearUnits(self, *args):
747 """SetLinearUnits(SpatialReference self, char const * name, double to_meters) -> OGRErr""" 748 return _osr.SpatialReference_SetLinearUnits(self, *args)
749 750
751 - def SetLinearUnitsAndUpdateParameters(self, *args):
752 """SetLinearUnitsAndUpdateParameters(SpatialReference self, char const * name, double to_meters) -> OGRErr""" 753 return _osr.SpatialReference_SetLinearUnitsAndUpdateParameters(self, *args)
754 755
756 - def GetTargetLinearUnits(self, *args):
757 """GetTargetLinearUnits(SpatialReference self, char const * target_key) -> double""" 758 return _osr.SpatialReference_GetTargetLinearUnits(self, *args)
759 760
761 - def GetLinearUnits(self, *args):
762 """GetLinearUnits(SpatialReference self) -> double""" 763 return _osr.SpatialReference_GetLinearUnits(self, *args)
764 765
766 - def GetLinearUnitsName(self, *args):
767 """GetLinearUnitsName(SpatialReference self) -> char const *""" 768 return _osr.SpatialReference_GetLinearUnitsName(self, *args)
769 770
771 - def GetAuthorityCode(self, *args):
772 """GetAuthorityCode(SpatialReference self, char const * target_key) -> char const *""" 773 return _osr.SpatialReference_GetAuthorityCode(self, *args)
774 775
776 - def GetAuthorityName(self, *args):
777 """GetAuthorityName(SpatialReference self, char const * target_key) -> char const *""" 778 return _osr.SpatialReference_GetAuthorityName(self, *args)
779 780
781 - def GetAxisName(self, *args):
782 """GetAxisName(SpatialReference self, char const * target_key, int iAxis) -> char const *""" 783 return _osr.SpatialReference_GetAxisName(self, *args)
784 785
786 - def GetAxisOrientation(self, *args):
787 """GetAxisOrientation(SpatialReference self, char const * target_key, int iAxis) -> OGRAxisOrientation""" 788 return _osr.SpatialReference_GetAxisOrientation(self, *args)
789 790
791 - def SetUTM(self, *args):
792 """SetUTM(SpatialReference self, int zone, int north=1) -> OGRErr""" 793 return _osr.SpatialReference_SetUTM(self, *args)
794 795
796 - def GetUTMZone(self, *args):
797 """GetUTMZone(SpatialReference self) -> int""" 798 return _osr.SpatialReference_GetUTMZone(self, *args)
799 800
801 - def SetStatePlane(self, *args):
802 """SetStatePlane(SpatialReference self, int zone, int is_nad83=1, char const * unitsname, double units=0.0) -> OGRErr""" 803 return _osr.SpatialReference_SetStatePlane(self, *args)
804 805
806 - def AutoIdentifyEPSG(self, *args):
807 """AutoIdentifyEPSG(SpatialReference self) -> OGRErr""" 808 return _osr.SpatialReference_AutoIdentifyEPSG(self, *args)
809 810
811 - def FindMatches(self, *args):
812 """FindMatches(SpatialReference self, char ** options=None)""" 813 return _osr.SpatialReference_FindMatches(self, *args)
814 815
816 - def SetProjection(self, *args):
817 """SetProjection(SpatialReference self, char const * arg) -> OGRErr""" 818 return _osr.SpatialReference_SetProjection(self, *args)
819 820
821 - def SetProjParm(self, *args):
822 """SetProjParm(SpatialReference self, char const * name, double val) -> OGRErr""" 823 return _osr.SpatialReference_SetProjParm(self, *args)
824 825
826 - def GetProjParm(self, *args):
827 """GetProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double""" 828 return _osr.SpatialReference_GetProjParm(self, *args)
829 830
831 - def SetNormProjParm(self, *args):
832 """SetNormProjParm(SpatialReference self, char const * name, double val) -> OGRErr""" 833 return _osr.SpatialReference_SetNormProjParm(self, *args)
834 835
836 - def GetNormProjParm(self, *args):
837 """GetNormProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double""" 838 return _osr.SpatialReference_GetNormProjParm(self, *args)
839 840
841 - def GetSemiMajor(self, *args):
842 """GetSemiMajor(SpatialReference self) -> double""" 843 return _osr.SpatialReference_GetSemiMajor(self, *args)
844 845
846 - def GetSemiMinor(self, *args):
847 """GetSemiMinor(SpatialReference self) -> double""" 848 return _osr.SpatialReference_GetSemiMinor(self, *args)
849 850
851 - def GetInvFlattening(self, *args):
852 """GetInvFlattening(SpatialReference self) -> double""" 853 return _osr.SpatialReference_GetInvFlattening(self, *args)
854 855
856 - def SetACEA(self, *args, **kwargs):
857 """SetACEA(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 858 return _osr.SpatialReference_SetACEA(self, *args, **kwargs)
859 860
861 - def SetAE(self, *args, **kwargs):
862 """SetAE(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 863 return _osr.SpatialReference_SetAE(self, *args, **kwargs)
864 865
866 - def SetBonne(self, *args, **kwargs):
867 """SetBonne(SpatialReference self, double stdp, double cm, double fe, double fn) -> OGRErr""" 868 return _osr.SpatialReference_SetBonne(self, *args, **kwargs)
869 870
871 - def SetCEA(self, *args, **kwargs):
872 """SetCEA(SpatialReference self, double stdp1, double cm, double fe, double fn) -> OGRErr""" 873 return _osr.SpatialReference_SetCEA(self, *args, **kwargs)
874 875
876 - def SetCS(self, *args, **kwargs):
877 """SetCS(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 878 return _osr.SpatialReference_SetCS(self, *args, **kwargs)
879 880
881 - def SetEC(self, *args, **kwargs):
882 """SetEC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 883 return _osr.SpatialReference_SetEC(self, *args, **kwargs)
884 885
886 - def SetEckertIV(self, *args, **kwargs):
887 """SetEckertIV(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 888 return _osr.SpatialReference_SetEckertIV(self, *args, **kwargs)
889 890
891 - def SetEckertVI(self, *args, **kwargs):
892 """SetEckertVI(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 893 return _osr.SpatialReference_SetEckertVI(self, *args, **kwargs)
894 895
896 - def SetEquirectangular(self, *args, **kwargs):
897 """SetEquirectangular(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 898 return _osr.SpatialReference_SetEquirectangular(self, *args, **kwargs)
899 900
901 - def SetEquirectangular2(self, *args, **kwargs):
902 """SetEquirectangular2(SpatialReference self, double clat, double clong, double pseudostdparallellat, double fe, double fn) -> OGRErr""" 903 return _osr.SpatialReference_SetEquirectangular2(self, *args, **kwargs)
904 905
906 - def SetGaussSchreiberTMercator(self, *args, **kwargs):
907 """SetGaussSchreiberTMercator(SpatialReference self, double clat, double clong, double sc, double fe, double fn) -> OGRErr""" 908 return _osr.SpatialReference_SetGaussSchreiberTMercator(self, *args, **kwargs)
909 910
911 - def SetGS(self, *args, **kwargs):
912 """SetGS(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 913 return _osr.SpatialReference_SetGS(self, *args, **kwargs)
914 915
916 - def SetGH(self, *args, **kwargs):
917 """SetGH(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 918 return _osr.SpatialReference_SetGH(self, *args, **kwargs)
919 920
921 - def SetIGH(self, *args):
922 """SetIGH(SpatialReference self) -> OGRErr""" 923 return _osr.SpatialReference_SetIGH(self, *args)
924 925
926 - def SetGEOS(self, *args, **kwargs):
927 """SetGEOS(SpatialReference self, double cm, double satelliteheight, double fe, double fn) -> OGRErr""" 928 return _osr.SpatialReference_SetGEOS(self, *args, **kwargs)
929 930
931 - def SetGnomonic(self, *args, **kwargs):
932 """SetGnomonic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 933 return _osr.SpatialReference_SetGnomonic(self, *args, **kwargs)
934 935
936 - def SetHOM(self, *args, **kwargs):
937 """SetHOM(SpatialReference self, double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) -> OGRErr""" 938 return _osr.SpatialReference_SetHOM(self, *args, **kwargs)
939 940
941 - def SetHOM2PNO(self, *args, **kwargs):
942 """SetHOM2PNO(SpatialReference self, double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) -> OGRErr""" 943 return _osr.SpatialReference_SetHOM2PNO(self, *args, **kwargs)
944 945
946 - def SetKrovak(self, *args, **kwargs):
947 """SetKrovak(SpatialReference self, double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) -> OGRErr""" 948 return _osr.SpatialReference_SetKrovak(self, *args, **kwargs)
949 950
951 - def SetLAEA(self, *args, **kwargs):
952 """SetLAEA(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 953 return _osr.SpatialReference_SetLAEA(self, *args, **kwargs)
954 955
956 - def SetLCC(self, *args, **kwargs):
957 """SetLCC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 958 return _osr.SpatialReference_SetLCC(self, *args, **kwargs)
959 960
961 - def SetLCC1SP(self, *args, **kwargs):
962 """SetLCC1SP(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 963 return _osr.SpatialReference_SetLCC1SP(self, *args, **kwargs)
964 965
966 - def SetLCCB(self, *args, **kwargs):
967 """SetLCCB(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr""" 968 return _osr.SpatialReference_SetLCCB(self, *args, **kwargs)
969 970
971 - def SetMC(self, *args, **kwargs):
972 """SetMC(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 973 return _osr.SpatialReference_SetMC(self, *args, **kwargs)
974 975
976 - def SetMercator(self, *args, **kwargs):
977 """SetMercator(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 978 return _osr.SpatialReference_SetMercator(self, *args, **kwargs)
979 980
981 - def SetMercator2SP(self, *args, **kwargs):
982 """SetMercator2SP(SpatialReference self, double stdp1, double clat, double clong, double fe, double fn) -> OGRErr""" 983 return _osr.SpatialReference_SetMercator2SP(self, *args, **kwargs)
984 985
986 - def SetMollweide(self, *args, **kwargs):
987 """SetMollweide(SpatialReference self, double cm, double fe, double fn) -> OGRErr""" 988 return _osr.SpatialReference_SetMollweide(self, *args, **kwargs)
989 990
991 - def SetNZMG(self, *args, **kwargs):
992 """SetNZMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 993 return _osr.SpatialReference_SetNZMG(self, *args, **kwargs)
994 995
996 - def SetOS(self, *args, **kwargs):
997 """SetOS(SpatialReference self, double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) -> OGRErr""" 998 return _osr.SpatialReference_SetOS(self, *args, **kwargs)
999 1000
1001 - def SetOrthographic(self, *args, **kwargs):
1002 """SetOrthographic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 1003 return _osr.SpatialReference_SetOrthographic(self, *args, **kwargs)
1004 1005
1006 - def SetPolyconic(self, *args, **kwargs):
1007 """SetPolyconic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 1008 return _osr.SpatialReference_SetPolyconic(self, *args, **kwargs)
1009 1010
1011 - def SetPS(self, *args, **kwargs):
1012 """SetPS(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 1013 return _osr.SpatialReference_SetPS(self, *args, **kwargs)
1014 1015
1016 - def SetRobinson(self, *args, **kwargs):
1017 """SetRobinson(SpatialReference self, double clong, double fe, double fn) -> OGRErr""" 1018 return _osr.SpatialReference_SetRobinson(self, *args, **kwargs)
1019 1020
1021 - def SetSinusoidal(self, *args, **kwargs):
1022 """SetSinusoidal(SpatialReference self, double clong, double fe, double fn) -> OGRErr""" 1023 return _osr.SpatialReference_SetSinusoidal(self, *args, **kwargs)
1024 1025
1026 - def SetStereographic(self, *args, **kwargs):
1027 """SetStereographic(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 1028 return _osr.SpatialReference_SetStereographic(self, *args, **kwargs)
1029 1030
1031 - def SetSOC(self, *args, **kwargs):
1032 """SetSOC(SpatialReference self, double latitudeoforigin, double cm, double fe, double fn) -> OGRErr""" 1033 return _osr.SpatialReference_SetSOC(self, *args, **kwargs)
1034 1035
1036 - def SetTM(self, *args, **kwargs):
1037 """SetTM(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 1038 return _osr.SpatialReference_SetTM(self, *args, **kwargs)
1039 1040
1041 - def SetTMVariant(self, *args, **kwargs):
1042 """SetTMVariant(SpatialReference self, char const * pszVariantName, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 1043 return _osr.SpatialReference_SetTMVariant(self, *args, **kwargs)
1044 1045
1046 - def SetTMG(self, *args, **kwargs):
1047 """SetTMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr""" 1048 return _osr.SpatialReference_SetTMG(self, *args, **kwargs)
1049 1050
1051 - def SetTMSO(self, *args, **kwargs):
1052 """SetTMSO(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr""" 1053 return _osr.SpatialReference_SetTMSO(self, *args, **kwargs)
1054 1055
1056 - def SetVDG(self, *args, **kwargs):
1057 """SetVDG(SpatialReference self, double clong, double fe, double fn) -> OGRErr""" 1058 return _osr.SpatialReference_SetVDG(self, *args, **kwargs)
1059 1060
1061 - def SetWellKnownGeogCS(self, *args):
1062 """SetWellKnownGeogCS(SpatialReference self, char const * name) -> OGRErr""" 1063 return _osr.SpatialReference_SetWellKnownGeogCS(self, *args)
1064 1065
1066 - def SetFromUserInput(self, *args):
1067 """SetFromUserInput(SpatialReference self, char const * name) -> OGRErr""" 1068 return _osr.SpatialReference_SetFromUserInput(self, *args)
1069 1070
1071 - def CopyGeogCSFrom(self, *args):
1072 """CopyGeogCSFrom(SpatialReference self, SpatialReference rhs) -> OGRErr""" 1073 return _osr.SpatialReference_CopyGeogCSFrom(self, *args)
1074 1075
1076 - def SetTOWGS84(self, *args):
1077 """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""" 1078 return _osr.SpatialReference_SetTOWGS84(self, *args)
1079 1080
1081 - def GetTOWGS84(self, *args):
1082 """GetTOWGS84(SpatialReference self) -> OGRErr""" 1083 return _osr.SpatialReference_GetTOWGS84(self, *args)
1084 1085
1086 - def SetLocalCS(self, *args):
1087 """SetLocalCS(SpatialReference self, char const * pszName) -> OGRErr""" 1088 return _osr.SpatialReference_SetLocalCS(self, *args)
1089 1090
1091 - def SetGeogCS(self, *args):
1092 """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""" 1093 return _osr.SpatialReference_SetGeogCS(self, *args)
1094 1095
1096 - def SetProjCS(self, *args):
1097 """SetProjCS(SpatialReference self, char const * name) -> OGRErr""" 1098 return _osr.SpatialReference_SetProjCS(self, *args)
1099 1100
1101 - def SetGeocCS(self, *args):
1102 """SetGeocCS(SpatialReference self, char const * name) -> OGRErr""" 1103 return _osr.SpatialReference_SetGeocCS(self, *args)
1104 1105
1106 - def SetVertCS(self, *args):
1107 """SetVertCS(SpatialReference self, char const * VertCSName, char const * VertDatumName, int VertDatumType=0) -> OGRErr""" 1108 return _osr.SpatialReference_SetVertCS(self, *args)
1109 1110
1111 - def SetCompoundCS(self, *args):
1112 """SetCompoundCS(SpatialReference self, char const * name, SpatialReference horizcs, SpatialReference vertcs) -> OGRErr""" 1113 return _osr.SpatialReference_SetCompoundCS(self, *args)
1114 1115
1116 - def ImportFromWkt(self, *args):
1117 """ImportFromWkt(SpatialReference self, char ** ppszInput) -> OGRErr""" 1118 return _osr.SpatialReference_ImportFromWkt(self, *args)
1119 1120
1121 - def ImportFromProj4(self, *args):
1122 """ImportFromProj4(SpatialReference self, char * ppszInput) -> OGRErr""" 1123 return _osr.SpatialReference_ImportFromProj4(self, *args)
1124 1125
1126 - def ImportFromUrl(self, *args):
1127 """ImportFromUrl(SpatialReference self, char * url) -> OGRErr""" 1128 return _osr.SpatialReference_ImportFromUrl(self, *args)
1129 1130
1131 - def ImportFromESRI(self, *args):
1132 """ImportFromESRI(SpatialReference self, char ** ppszInput) -> OGRErr""" 1133 return _osr.SpatialReference_ImportFromESRI(self, *args)
1134 1135
1136 - def ImportFromEPSG(self, *args):
1137 """ImportFromEPSG(SpatialReference self, int arg) -> OGRErr""" 1138 return _osr.SpatialReference_ImportFromEPSG(self, *args)
1139 1140
1141 - def ImportFromEPSGA(self, *args):
1142 """ImportFromEPSGA(SpatialReference self, int arg) -> OGRErr""" 1143 return _osr.SpatialReference_ImportFromEPSGA(self, *args)
1144 1145
1146 - def ImportFromPCI(self, *args):
1147 """ImportFromPCI(SpatialReference self, char const * proj, char const * units, double [17] argin=0) -> OGRErr""" 1148 return _osr.SpatialReference_ImportFromPCI(self, *args)
1149 1150
1151 - def ImportFromUSGS(self, *args):
1152 """ImportFromUSGS(SpatialReference self, long proj_code, long zone=0, double [15] argin=0, long datum_code=0) -> OGRErr""" 1153 return _osr.SpatialReference_ImportFromUSGS(self, *args)
1154 1155
1156 - def ImportFromXML(self, *args):
1157 """ImportFromXML(SpatialReference self, char const * xmlString) -> OGRErr""" 1158 return _osr.SpatialReference_ImportFromXML(self, *args)
1159 1160
1161 - def ImportFromERM(self, *args):
1162 """ImportFromERM(SpatialReference self, char const * proj, char const * datum, char const * units) -> OGRErr""" 1163 return _osr.SpatialReference_ImportFromERM(self, *args)
1164 1165
1166 - def ImportFromMICoordSys(self, *args):
1167 """ImportFromMICoordSys(SpatialReference self, char const * pszCoordSys) -> OGRErr""" 1168 return _osr.SpatialReference_ImportFromMICoordSys(self, *args)
1169 1170
1171 - def ImportFromOzi(self, *args):
1172 """ImportFromOzi(SpatialReference self, char const *const * papszLines) -> OGRErr""" 1173 return _osr.SpatialReference_ImportFromOzi(self, *args)
1174 1175
1176 - def ExportToWkt(self, *args):
1177 """ExportToWkt(SpatialReference self) -> OGRErr""" 1178 return _osr.SpatialReference_ExportToWkt(self, *args)
1179 1180
1181 - def ExportToPrettyWkt(self, *args):
1182 """ExportToPrettyWkt(SpatialReference self, int simplify=0) -> OGRErr""" 1183 return _osr.SpatialReference_ExportToPrettyWkt(self, *args)
1184 1185
1186 - def ExportToProj4(self, *args):
1187 """ExportToProj4(SpatialReference self) -> OGRErr""" 1188 return _osr.SpatialReference_ExportToProj4(self, *args)
1189 1190
1191 - def ExportToPCI(self, *args):
1192 """ExportToPCI(SpatialReference self) -> OGRErr""" 1193 return _osr.SpatialReference_ExportToPCI(self, *args)
1194 1195
1196 - def ExportToUSGS(self, *args):
1197 """ExportToUSGS(SpatialReference self) -> OGRErr""" 1198 return _osr.SpatialReference_ExportToUSGS(self, *args)
1199 1200
1201 - def ExportToXML(self, *args):
1202 """ExportToXML(SpatialReference self, char const * dialect) -> OGRErr""" 1203 return _osr.SpatialReference_ExportToXML(self, *args)
1204 1205
1206 - def ExportToMICoordSys(self, *args):
1207 """ExportToMICoordSys(SpatialReference self) -> OGRErr""" 1208 return _osr.SpatialReference_ExportToMICoordSys(self, *args)
1209 1210
1211 - def CloneGeogCS(self, *args):
1212 """CloneGeogCS(SpatialReference self) -> SpatialReference""" 1213 return _osr.SpatialReference_CloneGeogCS(self, *args)
1214 1215
1216 - def Clone(self, *args):
1217 """Clone(SpatialReference self) -> SpatialReference""" 1218 return _osr.SpatialReference_Clone(self, *args)
1219 1220
1221 - def Validate(self, *args):
1222 """Validate(SpatialReference self) -> OGRErr""" 1223 return _osr.SpatialReference_Validate(self, *args)
1224 1225
1226 - def StripCTParms(self, *args):
1227 """StripCTParms(SpatialReference self) -> OGRErr""" 1228 return _osr.SpatialReference_StripCTParms(self, *args)
1229 1230
1231 - def FixupOrdering(self, *args):
1232 """FixupOrdering(SpatialReference self) -> OGRErr""" 1233 return _osr.SpatialReference_FixupOrdering(self, *args)
1234 1235
1236 - def Fixup(self, *args):
1237 """Fixup(SpatialReference self) -> OGRErr""" 1238 return _osr.SpatialReference_Fixup(self, *args)
1239 1240
1241 - def MorphToESRI(self, *args):
1242 """MorphToESRI(SpatialReference self) -> OGRErr""" 1243 return _osr.SpatialReference_MorphToESRI(self, *args)
1244 1245
1246 - def MorphFromESRI(self, *args):
1247 """MorphFromESRI(SpatialReference self) -> OGRErr""" 1248 return _osr.SpatialReference_MorphFromESRI(self, *args)
1249 1250
1251 - def ConvertToOtherProjection(self, *args):
1252 """ConvertToOtherProjection(SpatialReference self, char const * other_projection, char ** options=None) -> SpatialReference""" 1253 return _osr.SpatialReference_ConvertToOtherProjection(self, *args)
1254 1255 SpatialReference_swigregister = _osr.SpatialReference_swigregister 1256 SpatialReference_swigregister(SpatialReference) 1257 GetProjectionMethods = _osr.GetProjectionMethods 1258
1259 -class CoordinateTransformation(_object):
1260 """Proxy of C++ OSRCoordinateTransformationShadow class.""" 1261 1262 __swig_setmethods__ = {} 1263 __setattr__ = lambda self, name, value: _swig_setattr(self, CoordinateTransformation, name, value) 1264 __swig_getmethods__ = {} 1265 __getattr__ = lambda self, name: _swig_getattr(self, CoordinateTransformation, name) 1266 __repr__ = _swig_repr 1267
1268 - def __init__(self, *args):
1269 """__init__(OSRCoordinateTransformationShadow self, SpatialReference src, SpatialReference dst) -> CoordinateTransformation""" 1270 this = _osr.new_CoordinateTransformation(*args) 1271 try: 1272 self.this.append(this) 1273 except Exception: 1274 self.this = this
1275 __swig_destroy__ = _osr.delete_CoordinateTransformation 1276 __del__ = lambda self: None 1277
1278 - def TransformPoint(self, *args):
1279 """ 1280 TransformPoint(CoordinateTransformation self, double [3] inout) 1281 TransformPoint(CoordinateTransformation self, double x, double y, double z=0.0) 1282 """ 1283 return _osr.CoordinateTransformation_TransformPoint(self, *args)
1284 1285
1286 - def TransformPoints(self, *args):
1287 """TransformPoints(CoordinateTransformation self, int nCount)""" 1288 return _osr.CoordinateTransformation_TransformPoints(self, *args)
1289 1290 CoordinateTransformation_swigregister = _osr.CoordinateTransformation_swigregister 1291 CoordinateTransformation_swigregister(CoordinateTransformation) 1292 1293
1294 -def CreateCoordinateTransformation(*args):
1295 """CreateCoordinateTransformation(SpatialReference src, SpatialReference dst) -> CoordinateTransformation""" 1296 return _osr.CreateCoordinateTransformation(*args)
1297 # This file is compatible with both classic and new-style classes. 1298