This file is indexed.

/usr/lib/python3/dist-packages/osgeo/osr.py is in python3-gdal 1.11.3+dfsg-3build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.





from sys import version_info
if version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_osr', [dirname(__file__)])
        except ImportError:
            import _osr
            return _osr
        if fp is not None:
            try:
                _mod = imp.load_module('_osr', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _osr = swig_import_helper()
    del swig_import_helper
else:
    import _osr
del version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.


def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object:
        pass
    _newclass = 0



_osr.SRS_WKT_WGS84_swigconstant(_osr)
SRS_WKT_WGS84 = _osr.SRS_WKT_WGS84

_osr.SRS_PT_ALBERS_CONIC_EQUAL_AREA_swigconstant(_osr)
SRS_PT_ALBERS_CONIC_EQUAL_AREA = _osr.SRS_PT_ALBERS_CONIC_EQUAL_AREA

_osr.SRS_PT_AZIMUTHAL_EQUIDISTANT_swigconstant(_osr)
SRS_PT_AZIMUTHAL_EQUIDISTANT = _osr.SRS_PT_AZIMUTHAL_EQUIDISTANT

_osr.SRS_PT_CASSINI_SOLDNER_swigconstant(_osr)
SRS_PT_CASSINI_SOLDNER = _osr.SRS_PT_CASSINI_SOLDNER

_osr.SRS_PT_CYLINDRICAL_EQUAL_AREA_swigconstant(_osr)
SRS_PT_CYLINDRICAL_EQUAL_AREA = _osr.SRS_PT_CYLINDRICAL_EQUAL_AREA

_osr.SRS_PT_BONNE_swigconstant(_osr)
SRS_PT_BONNE = _osr.SRS_PT_BONNE

_osr.SRS_PT_ECKERT_I_swigconstant(_osr)
SRS_PT_ECKERT_I = _osr.SRS_PT_ECKERT_I

_osr.SRS_PT_ECKERT_II_swigconstant(_osr)
SRS_PT_ECKERT_II = _osr.SRS_PT_ECKERT_II

_osr.SRS_PT_ECKERT_III_swigconstant(_osr)
SRS_PT_ECKERT_III = _osr.SRS_PT_ECKERT_III

_osr.SRS_PT_ECKERT_IV_swigconstant(_osr)
SRS_PT_ECKERT_IV = _osr.SRS_PT_ECKERT_IV

_osr.SRS_PT_ECKERT_V_swigconstant(_osr)
SRS_PT_ECKERT_V = _osr.SRS_PT_ECKERT_V

_osr.SRS_PT_ECKERT_VI_swigconstant(_osr)
SRS_PT_ECKERT_VI = _osr.SRS_PT_ECKERT_VI

_osr.SRS_PT_EQUIDISTANT_CONIC_swigconstant(_osr)
SRS_PT_EQUIDISTANT_CONIC = _osr.SRS_PT_EQUIDISTANT_CONIC

_osr.SRS_PT_EQUIRECTANGULAR_swigconstant(_osr)
SRS_PT_EQUIRECTANGULAR = _osr.SRS_PT_EQUIRECTANGULAR

_osr.SRS_PT_GALL_STEREOGRAPHIC_swigconstant(_osr)
SRS_PT_GALL_STEREOGRAPHIC = _osr.SRS_PT_GALL_STEREOGRAPHIC

_osr.SRS_PT_GAUSSSCHREIBERTMERCATOR_swigconstant(_osr)
SRS_PT_GAUSSSCHREIBERTMERCATOR = _osr.SRS_PT_GAUSSSCHREIBERTMERCATOR

_osr.SRS_PT_GEOSTATIONARY_SATELLITE_swigconstant(_osr)
SRS_PT_GEOSTATIONARY_SATELLITE = _osr.SRS_PT_GEOSTATIONARY_SATELLITE

_osr.SRS_PT_GOODE_HOMOLOSINE_swigconstant(_osr)
SRS_PT_GOODE_HOMOLOSINE = _osr.SRS_PT_GOODE_HOMOLOSINE

_osr.SRS_PT_IGH_swigconstant(_osr)
SRS_PT_IGH = _osr.SRS_PT_IGH

_osr.SRS_PT_GNOMONIC_swigconstant(_osr)
SRS_PT_GNOMONIC = _osr.SRS_PT_GNOMONIC

_osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER_swigconstant(_osr)
SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER

_osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_swigconstant(_osr)
SRS_PT_HOTINE_OBLIQUE_MERCATOR = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR

_osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN_swigconstant(_osr)
SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN

_osr.SRS_PT_LABORDE_OBLIQUE_MERCATOR_swigconstant(_osr)
SRS_PT_LABORDE_OBLIQUE_MERCATOR = _osr.SRS_PT_LABORDE_OBLIQUE_MERCATOR

_osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP_swigconstant(_osr)
SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP

_osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_swigconstant(_osr)
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP

_osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM_swigconstant(_osr)
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM

_osr.SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA_swigconstant(_osr)
SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA = _osr.SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA

_osr.SRS_PT_MERCATOR_1SP_swigconstant(_osr)
SRS_PT_MERCATOR_1SP = _osr.SRS_PT_MERCATOR_1SP

_osr.SRS_PT_MERCATOR_2SP_swigconstant(_osr)
SRS_PT_MERCATOR_2SP = _osr.SRS_PT_MERCATOR_2SP

_osr.SRS_PT_MERCATOR_AUXILIARY_SPHERE_swigconstant(_osr)
SRS_PT_MERCATOR_AUXILIARY_SPHERE = _osr.SRS_PT_MERCATOR_AUXILIARY_SPHERE

_osr.SRS_PT_MILLER_CYLINDRICAL_swigconstant(_osr)
SRS_PT_MILLER_CYLINDRICAL = _osr.SRS_PT_MILLER_CYLINDRICAL

_osr.SRS_PT_MOLLWEIDE_swigconstant(_osr)
SRS_PT_MOLLWEIDE = _osr.SRS_PT_MOLLWEIDE

_osr.SRS_PT_NEW_ZEALAND_MAP_GRID_swigconstant(_osr)
SRS_PT_NEW_ZEALAND_MAP_GRID = _osr.SRS_PT_NEW_ZEALAND_MAP_GRID

_osr.SRS_PT_OBLIQUE_STEREOGRAPHIC_swigconstant(_osr)
SRS_PT_OBLIQUE_STEREOGRAPHIC = _osr.SRS_PT_OBLIQUE_STEREOGRAPHIC

_osr.SRS_PT_ORTHOGRAPHIC_swigconstant(_osr)
SRS_PT_ORTHOGRAPHIC = _osr.SRS_PT_ORTHOGRAPHIC

_osr.SRS_PT_POLAR_STEREOGRAPHIC_swigconstant(_osr)
SRS_PT_POLAR_STEREOGRAPHIC = _osr.SRS_PT_POLAR_STEREOGRAPHIC

_osr.SRS_PT_POLYCONIC_swigconstant(_osr)
SRS_PT_POLYCONIC = _osr.SRS_PT_POLYCONIC

_osr.SRS_PT_ROBINSON_swigconstant(_osr)
SRS_PT_ROBINSON = _osr.SRS_PT_ROBINSON

_osr.SRS_PT_SINUSOIDAL_swigconstant(_osr)
SRS_PT_SINUSOIDAL = _osr.SRS_PT_SINUSOIDAL

_osr.SRS_PT_STEREOGRAPHIC_swigconstant(_osr)
SRS_PT_STEREOGRAPHIC = _osr.SRS_PT_STEREOGRAPHIC

_osr.SRS_PT_SWISS_OBLIQUE_CYLINDRICAL_swigconstant(_osr)
SRS_PT_SWISS_OBLIQUE_CYLINDRICAL = _osr.SRS_PT_SWISS_OBLIQUE_CYLINDRICAL

_osr.SRS_PT_TRANSVERSE_MERCATOR_swigconstant(_osr)
SRS_PT_TRANSVERSE_MERCATOR = _osr.SRS_PT_TRANSVERSE_MERCATOR

_osr.SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED_swigconstant(_osr)
SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED = _osr.SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED

_osr.SRS_PT_TRANSVERSE_MERCATOR_MI_21_swigconstant(_osr)
SRS_PT_TRANSVERSE_MERCATOR_MI_21 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_21

_osr.SRS_PT_TRANSVERSE_MERCATOR_MI_22_swigconstant(_osr)
SRS_PT_TRANSVERSE_MERCATOR_MI_22 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_22

_osr.SRS_PT_TRANSVERSE_MERCATOR_MI_23_swigconstant(_osr)
SRS_PT_TRANSVERSE_MERCATOR_MI_23 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_23

_osr.SRS_PT_TRANSVERSE_MERCATOR_MI_24_swigconstant(_osr)
SRS_PT_TRANSVERSE_MERCATOR_MI_24 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_24

_osr.SRS_PT_TRANSVERSE_MERCATOR_MI_25_swigconstant(_osr)
SRS_PT_TRANSVERSE_MERCATOR_MI_25 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_25

_osr.SRS_PT_TUNISIA_MINING_GRID_swigconstant(_osr)
SRS_PT_TUNISIA_MINING_GRID = _osr.SRS_PT_TUNISIA_MINING_GRID

_osr.SRS_PT_TWO_POINT_EQUIDISTANT_swigconstant(_osr)
SRS_PT_TWO_POINT_EQUIDISTANT = _osr.SRS_PT_TWO_POINT_EQUIDISTANT

_osr.SRS_PT_VANDERGRINTEN_swigconstant(_osr)
SRS_PT_VANDERGRINTEN = _osr.SRS_PT_VANDERGRINTEN

_osr.SRS_PT_KROVAK_swigconstant(_osr)
SRS_PT_KROVAK = _osr.SRS_PT_KROVAK

_osr.SRS_PT_IMW_POLYCONIC_swigconstant(_osr)
SRS_PT_IMW_POLYCONIC = _osr.SRS_PT_IMW_POLYCONIC

_osr.SRS_PT_WAGNER_I_swigconstant(_osr)
SRS_PT_WAGNER_I = _osr.SRS_PT_WAGNER_I

_osr.SRS_PT_WAGNER_II_swigconstant(_osr)
SRS_PT_WAGNER_II = _osr.SRS_PT_WAGNER_II

_osr.SRS_PT_WAGNER_III_swigconstant(_osr)
SRS_PT_WAGNER_III = _osr.SRS_PT_WAGNER_III

_osr.SRS_PT_WAGNER_IV_swigconstant(_osr)
SRS_PT_WAGNER_IV = _osr.SRS_PT_WAGNER_IV

_osr.SRS_PT_WAGNER_V_swigconstant(_osr)
SRS_PT_WAGNER_V = _osr.SRS_PT_WAGNER_V

_osr.SRS_PT_WAGNER_VI_swigconstant(_osr)
SRS_PT_WAGNER_VI = _osr.SRS_PT_WAGNER_VI

_osr.SRS_PT_WAGNER_VII_swigconstant(_osr)
SRS_PT_WAGNER_VII = _osr.SRS_PT_WAGNER_VII

_osr.SRS_PP_CENTRAL_MERIDIAN_swigconstant(_osr)
SRS_PP_CENTRAL_MERIDIAN = _osr.SRS_PP_CENTRAL_MERIDIAN

_osr.SRS_PP_SCALE_FACTOR_swigconstant(_osr)
SRS_PP_SCALE_FACTOR = _osr.SRS_PP_SCALE_FACTOR

_osr.SRS_PP_STANDARD_PARALLEL_1_swigconstant(_osr)
SRS_PP_STANDARD_PARALLEL_1 = _osr.SRS_PP_STANDARD_PARALLEL_1

_osr.SRS_PP_STANDARD_PARALLEL_2_swigconstant(_osr)
SRS_PP_STANDARD_PARALLEL_2 = _osr.SRS_PP_STANDARD_PARALLEL_2

_osr.SRS_PP_PSEUDO_STD_PARALLEL_1_swigconstant(_osr)
SRS_PP_PSEUDO_STD_PARALLEL_1 = _osr.SRS_PP_PSEUDO_STD_PARALLEL_1

_osr.SRS_PP_LONGITUDE_OF_CENTER_swigconstant(_osr)
SRS_PP_LONGITUDE_OF_CENTER = _osr.SRS_PP_LONGITUDE_OF_CENTER

_osr.SRS_PP_LATITUDE_OF_CENTER_swigconstant(_osr)
SRS_PP_LATITUDE_OF_CENTER = _osr.SRS_PP_LATITUDE_OF_CENTER

_osr.SRS_PP_LONGITUDE_OF_ORIGIN_swigconstant(_osr)
SRS_PP_LONGITUDE_OF_ORIGIN = _osr.SRS_PP_LONGITUDE_OF_ORIGIN

_osr.SRS_PP_LATITUDE_OF_ORIGIN_swigconstant(_osr)
SRS_PP_LATITUDE_OF_ORIGIN = _osr.SRS_PP_LATITUDE_OF_ORIGIN

_osr.SRS_PP_FALSE_EASTING_swigconstant(_osr)
SRS_PP_FALSE_EASTING = _osr.SRS_PP_FALSE_EASTING

_osr.SRS_PP_FALSE_NORTHING_swigconstant(_osr)
SRS_PP_FALSE_NORTHING = _osr.SRS_PP_FALSE_NORTHING

_osr.SRS_PP_AZIMUTH_swigconstant(_osr)
SRS_PP_AZIMUTH = _osr.SRS_PP_AZIMUTH

_osr.SRS_PP_LONGITUDE_OF_POINT_1_swigconstant(_osr)
SRS_PP_LONGITUDE_OF_POINT_1 = _osr.SRS_PP_LONGITUDE_OF_POINT_1

_osr.SRS_PP_LATITUDE_OF_POINT_1_swigconstant(_osr)
SRS_PP_LATITUDE_OF_POINT_1 = _osr.SRS_PP_LATITUDE_OF_POINT_1

_osr.SRS_PP_LONGITUDE_OF_POINT_2_swigconstant(_osr)
SRS_PP_LONGITUDE_OF_POINT_2 = _osr.SRS_PP_LONGITUDE_OF_POINT_2

_osr.SRS_PP_LATITUDE_OF_POINT_2_swigconstant(_osr)
SRS_PP_LATITUDE_OF_POINT_2 = _osr.SRS_PP_LATITUDE_OF_POINT_2

_osr.SRS_PP_LONGITUDE_OF_POINT_3_swigconstant(_osr)
SRS_PP_LONGITUDE_OF_POINT_3 = _osr.SRS_PP_LONGITUDE_OF_POINT_3

_osr.SRS_PP_LATITUDE_OF_POINT_3_swigconstant(_osr)
SRS_PP_LATITUDE_OF_POINT_3 = _osr.SRS_PP_LATITUDE_OF_POINT_3

_osr.SRS_PP_RECTIFIED_GRID_ANGLE_swigconstant(_osr)
SRS_PP_RECTIFIED_GRID_ANGLE = _osr.SRS_PP_RECTIFIED_GRID_ANGLE

_osr.SRS_PP_LANDSAT_NUMBER_swigconstant(_osr)
SRS_PP_LANDSAT_NUMBER = _osr.SRS_PP_LANDSAT_NUMBER

_osr.SRS_PP_PATH_NUMBER_swigconstant(_osr)
SRS_PP_PATH_NUMBER = _osr.SRS_PP_PATH_NUMBER

_osr.SRS_PP_PERSPECTIVE_POINT_HEIGHT_swigconstant(_osr)
SRS_PP_PERSPECTIVE_POINT_HEIGHT = _osr.SRS_PP_PERSPECTIVE_POINT_HEIGHT

_osr.SRS_PP_SATELLITE_HEIGHT_swigconstant(_osr)
SRS_PP_SATELLITE_HEIGHT = _osr.SRS_PP_SATELLITE_HEIGHT

_osr.SRS_PP_FIPSZONE_swigconstant(_osr)
SRS_PP_FIPSZONE = _osr.SRS_PP_FIPSZONE

_osr.SRS_PP_ZONE_swigconstant(_osr)
SRS_PP_ZONE = _osr.SRS_PP_ZONE

_osr.SRS_PP_LATITUDE_OF_1ST_POINT_swigconstant(_osr)
SRS_PP_LATITUDE_OF_1ST_POINT = _osr.SRS_PP_LATITUDE_OF_1ST_POINT

_osr.SRS_PP_LONGITUDE_OF_1ST_POINT_swigconstant(_osr)
SRS_PP_LONGITUDE_OF_1ST_POINT = _osr.SRS_PP_LONGITUDE_OF_1ST_POINT

_osr.SRS_PP_LATITUDE_OF_2ND_POINT_swigconstant(_osr)
SRS_PP_LATITUDE_OF_2ND_POINT = _osr.SRS_PP_LATITUDE_OF_2ND_POINT

_osr.SRS_PP_LONGITUDE_OF_2ND_POINT_swigconstant(_osr)
SRS_PP_LONGITUDE_OF_2ND_POINT = _osr.SRS_PP_LONGITUDE_OF_2ND_POINT

_osr.SRS_UL_METER_swigconstant(_osr)
SRS_UL_METER = _osr.SRS_UL_METER

_osr.SRS_UL_FOOT_swigconstant(_osr)
SRS_UL_FOOT = _osr.SRS_UL_FOOT

_osr.SRS_UL_FOOT_CONV_swigconstant(_osr)
SRS_UL_FOOT_CONV = _osr.SRS_UL_FOOT_CONV

_osr.SRS_UL_US_FOOT_swigconstant(_osr)
SRS_UL_US_FOOT = _osr.SRS_UL_US_FOOT

_osr.SRS_UL_US_FOOT_CONV_swigconstant(_osr)
SRS_UL_US_FOOT_CONV = _osr.SRS_UL_US_FOOT_CONV

_osr.SRS_UL_NAUTICAL_MILE_swigconstant(_osr)
SRS_UL_NAUTICAL_MILE = _osr.SRS_UL_NAUTICAL_MILE

_osr.SRS_UL_NAUTICAL_MILE_CONV_swigconstant(_osr)
SRS_UL_NAUTICAL_MILE_CONV = _osr.SRS_UL_NAUTICAL_MILE_CONV

_osr.SRS_UL_LINK_swigconstant(_osr)
SRS_UL_LINK = _osr.SRS_UL_LINK

_osr.SRS_UL_LINK_CONV_swigconstant(_osr)
SRS_UL_LINK_CONV = _osr.SRS_UL_LINK_CONV

_osr.SRS_UL_CHAIN_swigconstant(_osr)
SRS_UL_CHAIN = _osr.SRS_UL_CHAIN

_osr.SRS_UL_CHAIN_CONV_swigconstant(_osr)
SRS_UL_CHAIN_CONV = _osr.SRS_UL_CHAIN_CONV

_osr.SRS_UL_ROD_swigconstant(_osr)
SRS_UL_ROD = _osr.SRS_UL_ROD

_osr.SRS_UL_ROD_CONV_swigconstant(_osr)
SRS_UL_ROD_CONV = _osr.SRS_UL_ROD_CONV

_osr.SRS_UL_LINK_Clarke_swigconstant(_osr)
SRS_UL_LINK_Clarke = _osr.SRS_UL_LINK_Clarke

_osr.SRS_UL_LINK_Clarke_CONV_swigconstant(_osr)
SRS_UL_LINK_Clarke_CONV = _osr.SRS_UL_LINK_Clarke_CONV

_osr.SRS_UL_KILOMETER_swigconstant(_osr)
SRS_UL_KILOMETER = _osr.SRS_UL_KILOMETER

_osr.SRS_UL_KILOMETER_CONV_swigconstant(_osr)
SRS_UL_KILOMETER_CONV = _osr.SRS_UL_KILOMETER_CONV

_osr.SRS_UL_DECIMETER_swigconstant(_osr)
SRS_UL_DECIMETER = _osr.SRS_UL_DECIMETER

_osr.SRS_UL_DECIMETER_CONV_swigconstant(_osr)
SRS_UL_DECIMETER_CONV = _osr.SRS_UL_DECIMETER_CONV

_osr.SRS_UL_CENTIMETER_swigconstant(_osr)
SRS_UL_CENTIMETER = _osr.SRS_UL_CENTIMETER

_osr.SRS_UL_CENTIMETER_CONV_swigconstant(_osr)
SRS_UL_CENTIMETER_CONV = _osr.SRS_UL_CENTIMETER_CONV

_osr.SRS_UL_MILLIMETER_swigconstant(_osr)
SRS_UL_MILLIMETER = _osr.SRS_UL_MILLIMETER

_osr.SRS_UL_MILLIMETER_CONV_swigconstant(_osr)
SRS_UL_MILLIMETER_CONV = _osr.SRS_UL_MILLIMETER_CONV

_osr.SRS_UL_INTL_NAUT_MILE_swigconstant(_osr)
SRS_UL_INTL_NAUT_MILE = _osr.SRS_UL_INTL_NAUT_MILE

_osr.SRS_UL_INTL_NAUT_MILE_CONV_swigconstant(_osr)
SRS_UL_INTL_NAUT_MILE_CONV = _osr.SRS_UL_INTL_NAUT_MILE_CONV

_osr.SRS_UL_INTL_INCH_swigconstant(_osr)
SRS_UL_INTL_INCH = _osr.SRS_UL_INTL_INCH

_osr.SRS_UL_INTL_INCH_CONV_swigconstant(_osr)
SRS_UL_INTL_INCH_CONV = _osr.SRS_UL_INTL_INCH_CONV

_osr.SRS_UL_INTL_FOOT_swigconstant(_osr)
SRS_UL_INTL_FOOT = _osr.SRS_UL_INTL_FOOT

_osr.SRS_UL_INTL_FOOT_CONV_swigconstant(_osr)
SRS_UL_INTL_FOOT_CONV = _osr.SRS_UL_INTL_FOOT_CONV

_osr.SRS_UL_INTL_YARD_swigconstant(_osr)
SRS_UL_INTL_YARD = _osr.SRS_UL_INTL_YARD

_osr.SRS_UL_INTL_YARD_CONV_swigconstant(_osr)
SRS_UL_INTL_YARD_CONV = _osr.SRS_UL_INTL_YARD_CONV

_osr.SRS_UL_INTL_STAT_MILE_swigconstant(_osr)
SRS_UL_INTL_STAT_MILE = _osr.SRS_UL_INTL_STAT_MILE

_osr.SRS_UL_INTL_STAT_MILE_CONV_swigconstant(_osr)
SRS_UL_INTL_STAT_MILE_CONV = _osr.SRS_UL_INTL_STAT_MILE_CONV

_osr.SRS_UL_INTL_FATHOM_swigconstant(_osr)
SRS_UL_INTL_FATHOM = _osr.SRS_UL_INTL_FATHOM

_osr.SRS_UL_INTL_FATHOM_CONV_swigconstant(_osr)
SRS_UL_INTL_FATHOM_CONV = _osr.SRS_UL_INTL_FATHOM_CONV

_osr.SRS_UL_INTL_CHAIN_swigconstant(_osr)
SRS_UL_INTL_CHAIN = _osr.SRS_UL_INTL_CHAIN

_osr.SRS_UL_INTL_CHAIN_CONV_swigconstant(_osr)
SRS_UL_INTL_CHAIN_CONV = _osr.SRS_UL_INTL_CHAIN_CONV

_osr.SRS_UL_INTL_LINK_swigconstant(_osr)
SRS_UL_INTL_LINK = _osr.SRS_UL_INTL_LINK

_osr.SRS_UL_INTL_LINK_CONV_swigconstant(_osr)
SRS_UL_INTL_LINK_CONV = _osr.SRS_UL_INTL_LINK_CONV

_osr.SRS_UL_US_INCH_swigconstant(_osr)
SRS_UL_US_INCH = _osr.SRS_UL_US_INCH

_osr.SRS_UL_US_INCH_CONV_swigconstant(_osr)
SRS_UL_US_INCH_CONV = _osr.SRS_UL_US_INCH_CONV

_osr.SRS_UL_US_YARD_swigconstant(_osr)
SRS_UL_US_YARD = _osr.SRS_UL_US_YARD

_osr.SRS_UL_US_YARD_CONV_swigconstant(_osr)
SRS_UL_US_YARD_CONV = _osr.SRS_UL_US_YARD_CONV

_osr.SRS_UL_US_CHAIN_swigconstant(_osr)
SRS_UL_US_CHAIN = _osr.SRS_UL_US_CHAIN

_osr.SRS_UL_US_CHAIN_CONV_swigconstant(_osr)
SRS_UL_US_CHAIN_CONV = _osr.SRS_UL_US_CHAIN_CONV

_osr.SRS_UL_US_STAT_MILE_swigconstant(_osr)
SRS_UL_US_STAT_MILE = _osr.SRS_UL_US_STAT_MILE

_osr.SRS_UL_US_STAT_MILE_CONV_swigconstant(_osr)
SRS_UL_US_STAT_MILE_CONV = _osr.SRS_UL_US_STAT_MILE_CONV

_osr.SRS_UL_INDIAN_YARD_swigconstant(_osr)
SRS_UL_INDIAN_YARD = _osr.SRS_UL_INDIAN_YARD

_osr.SRS_UL_INDIAN_YARD_CONV_swigconstant(_osr)
SRS_UL_INDIAN_YARD_CONV = _osr.SRS_UL_INDIAN_YARD_CONV

_osr.SRS_UL_INDIAN_FOOT_swigconstant(_osr)
SRS_UL_INDIAN_FOOT = _osr.SRS_UL_INDIAN_FOOT

_osr.SRS_UL_INDIAN_FOOT_CONV_swigconstant(_osr)
SRS_UL_INDIAN_FOOT_CONV = _osr.SRS_UL_INDIAN_FOOT_CONV

_osr.SRS_UL_INDIAN_CHAIN_swigconstant(_osr)
SRS_UL_INDIAN_CHAIN = _osr.SRS_UL_INDIAN_CHAIN

_osr.SRS_UL_INDIAN_CHAIN_CONV_swigconstant(_osr)
SRS_UL_INDIAN_CHAIN_CONV = _osr.SRS_UL_INDIAN_CHAIN_CONV

_osr.SRS_UA_DEGREE_swigconstant(_osr)
SRS_UA_DEGREE = _osr.SRS_UA_DEGREE

_osr.SRS_UA_DEGREE_CONV_swigconstant(_osr)
SRS_UA_DEGREE_CONV = _osr.SRS_UA_DEGREE_CONV

_osr.SRS_UA_RADIAN_swigconstant(_osr)
SRS_UA_RADIAN = _osr.SRS_UA_RADIAN

_osr.SRS_PM_GREENWICH_swigconstant(_osr)
SRS_PM_GREENWICH = _osr.SRS_PM_GREENWICH

_osr.SRS_DN_NAD27_swigconstant(_osr)
SRS_DN_NAD27 = _osr.SRS_DN_NAD27

_osr.SRS_DN_NAD83_swigconstant(_osr)
SRS_DN_NAD83 = _osr.SRS_DN_NAD83

_osr.SRS_DN_WGS72_swigconstant(_osr)
SRS_DN_WGS72 = _osr.SRS_DN_WGS72

_osr.SRS_DN_WGS84_swigconstant(_osr)
SRS_DN_WGS84 = _osr.SRS_DN_WGS84

_osr.SRS_WGS84_SEMIMAJOR_swigconstant(_osr)
SRS_WGS84_SEMIMAJOR = _osr.SRS_WGS84_SEMIMAJOR

_osr.SRS_WGS84_INVFLATTENING_swigconstant(_osr)
SRS_WGS84_INVFLATTENING = _osr.SRS_WGS84_INVFLATTENING

def GetUseExceptions(*args):
    """GetUseExceptions() -> int"""
    return _osr.GetUseExceptions(*args)

def UseExceptions(*args):
    """UseExceptions()"""
    return _osr.UseExceptions(*args)

def DontUseExceptions(*args):
    """DontUseExceptions()"""
    return _osr.DontUseExceptions(*args)

def GetWellKnownGeogCSAsWKT(*args):
    """GetWellKnownGeogCSAsWKT(char const * name) -> OGRErr"""
    return _osr.GetWellKnownGeogCSAsWKT(*args)

def GetUserInputAsWKT(*args):
    """GetUserInputAsWKT(char const * name) -> OGRErr"""
    return _osr.GetUserInputAsWKT(*args)
class SpatialReference(_object):
    """Proxy of C++ OSRSpatialReferenceShadow class."""

    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SpatialReference, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SpatialReference, name)
    __repr__ = _swig_repr

    def __init__(self, *args, **kwargs):
        """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference"""
        this = _osr.new_SpatialReference(*args, **kwargs)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _osr.delete_SpatialReference
    __del__ = lambda self: None

    def __str__(self, *args):
        """__str__(SpatialReference self) -> retStringAndCPLFree *"""
        return _osr.SpatialReference___str__(self, *args)


    def IsSame(self, *args):
        """IsSame(SpatialReference self, SpatialReference rhs) -> int"""
        return _osr.SpatialReference_IsSame(self, *args)


    def IsSameGeogCS(self, *args):
        """IsSameGeogCS(SpatialReference self, SpatialReference rhs) -> int"""
        return _osr.SpatialReference_IsSameGeogCS(self, *args)


    def IsSameVertCS(self, *args):
        """IsSameVertCS(SpatialReference self, SpatialReference rhs) -> int"""
        return _osr.SpatialReference_IsSameVertCS(self, *args)


    def IsGeographic(self, *args):
        """IsGeographic(SpatialReference self) -> int"""
        return _osr.SpatialReference_IsGeographic(self, *args)


    def IsProjected(self, *args):
        """IsProjected(SpatialReference self) -> int"""
        return _osr.SpatialReference_IsProjected(self, *args)


    def IsCompound(self, *args):
        """IsCompound(SpatialReference self) -> int"""
        return _osr.SpatialReference_IsCompound(self, *args)


    def IsGeocentric(self, *args):
        """IsGeocentric(SpatialReference self) -> int"""
        return _osr.SpatialReference_IsGeocentric(self, *args)


    def IsLocal(self, *args):
        """IsLocal(SpatialReference self) -> int"""
        return _osr.SpatialReference_IsLocal(self, *args)


    def IsVertical(self, *args):
        """IsVertical(SpatialReference self) -> int"""
        return _osr.SpatialReference_IsVertical(self, *args)


    def EPSGTreatsAsLatLong(self, *args):
        """EPSGTreatsAsLatLong(SpatialReference self) -> int"""
        return _osr.SpatialReference_EPSGTreatsAsLatLong(self, *args)


    def EPSGTreatsAsNorthingEasting(self, *args):
        """EPSGTreatsAsNorthingEasting(SpatialReference self) -> int"""
        return _osr.SpatialReference_EPSGTreatsAsNorthingEasting(self, *args)


    def SetAuthority(self, *args):
        """SetAuthority(SpatialReference self, char const * pszTargetKey, char const * pszAuthority, int nCode) -> OGRErr"""
        return _osr.SpatialReference_SetAuthority(self, *args)


    def GetAttrValue(self, *args):
        """GetAttrValue(SpatialReference self, char const * name, int child=0) -> char const *"""
        return _osr.SpatialReference_GetAttrValue(self, *args)


    def SetAttrValue(self, *args):
        """SetAttrValue(SpatialReference self, char const * name, char const * value) -> OGRErr"""
        return _osr.SpatialReference_SetAttrValue(self, *args)


    def SetAngularUnits(self, *args):
        """SetAngularUnits(SpatialReference self, char const * name, double to_radians) -> OGRErr"""
        return _osr.SpatialReference_SetAngularUnits(self, *args)


    def GetAngularUnits(self, *args):
        """GetAngularUnits(SpatialReference self) -> double"""
        return _osr.SpatialReference_GetAngularUnits(self, *args)


    def SetTargetLinearUnits(self, *args):
        """SetTargetLinearUnits(SpatialReference self, char const * target, char const * name, double to_meters) -> OGRErr"""
        return _osr.SpatialReference_SetTargetLinearUnits(self, *args)


    def SetLinearUnits(self, *args):
        """SetLinearUnits(SpatialReference self, char const * name, double to_meters) -> OGRErr"""
        return _osr.SpatialReference_SetLinearUnits(self, *args)


    def SetLinearUnitsAndUpdateParameters(self, *args):
        """SetLinearUnitsAndUpdateParameters(SpatialReference self, char const * name, double to_meters) -> OGRErr"""
        return _osr.SpatialReference_SetLinearUnitsAndUpdateParameters(self, *args)


    def GetLinearUnits(self, *args):
        """GetLinearUnits(SpatialReference self) -> double"""
        return _osr.SpatialReference_GetLinearUnits(self, *args)


    def GetLinearUnitsName(self, *args):
        """GetLinearUnitsName(SpatialReference self) -> char const *"""
        return _osr.SpatialReference_GetLinearUnitsName(self, *args)


    def GetAuthorityCode(self, *args):
        """GetAuthorityCode(SpatialReference self, char const * target_key) -> char const *"""
        return _osr.SpatialReference_GetAuthorityCode(self, *args)


    def GetAuthorityName(self, *args):
        """GetAuthorityName(SpatialReference self, char const * target_key) -> char const *"""
        return _osr.SpatialReference_GetAuthorityName(self, *args)


    def SetUTM(self, *args):
        """SetUTM(SpatialReference self, int zone, int north=1) -> OGRErr"""
        return _osr.SpatialReference_SetUTM(self, *args)


    def GetUTMZone(self, *args):
        """GetUTMZone(SpatialReference self) -> int"""
        return _osr.SpatialReference_GetUTMZone(self, *args)


    def SetStatePlane(self, *args):
        """SetStatePlane(SpatialReference self, int zone, int is_nad83=1, char const * unitsname, double units=0.0) -> OGRErr"""
        return _osr.SpatialReference_SetStatePlane(self, *args)


    def AutoIdentifyEPSG(self, *args):
        """AutoIdentifyEPSG(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_AutoIdentifyEPSG(self, *args)


    def SetProjection(self, *args):
        """SetProjection(SpatialReference self, char const * arg) -> OGRErr"""
        return _osr.SpatialReference_SetProjection(self, *args)


    def SetProjParm(self, *args):
        """SetProjParm(SpatialReference self, char const * name, double val) -> OGRErr"""
        return _osr.SpatialReference_SetProjParm(self, *args)


    def GetProjParm(self, *args):
        """GetProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double"""
        return _osr.SpatialReference_GetProjParm(self, *args)


    def SetNormProjParm(self, *args):
        """SetNormProjParm(SpatialReference self, char const * name, double val) -> OGRErr"""
        return _osr.SpatialReference_SetNormProjParm(self, *args)


    def GetNormProjParm(self, *args):
        """GetNormProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double"""
        return _osr.SpatialReference_GetNormProjParm(self, *args)


    def GetSemiMajor(self, *args):
        """GetSemiMajor(SpatialReference self) -> double"""
        return _osr.SpatialReference_GetSemiMajor(self, *args)


    def GetSemiMinor(self, *args):
        """GetSemiMinor(SpatialReference self) -> double"""
        return _osr.SpatialReference_GetSemiMinor(self, *args)


    def GetInvFlattening(self, *args):
        """GetInvFlattening(SpatialReference self) -> double"""
        return _osr.SpatialReference_GetInvFlattening(self, *args)


    def SetACEA(self, *args, **kwargs):
        """SetACEA(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetACEA(self, *args, **kwargs)


    def SetAE(self, *args, **kwargs):
        """SetAE(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetAE(self, *args, **kwargs)


    def SetBonne(self, *args, **kwargs):
        """SetBonne(SpatialReference self, double stdp, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetBonne(self, *args, **kwargs)


    def SetCEA(self, *args, **kwargs):
        """SetCEA(SpatialReference self, double stdp1, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetCEA(self, *args, **kwargs)


    def SetCS(self, *args, **kwargs):
        """SetCS(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetCS(self, *args, **kwargs)


    def SetEC(self, *args, **kwargs):
        """SetEC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetEC(self, *args, **kwargs)


    def SetEckertIV(self, *args, **kwargs):
        """SetEckertIV(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetEckertIV(self, *args, **kwargs)


    def SetEckertVI(self, *args, **kwargs):
        """SetEckertVI(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetEckertVI(self, *args, **kwargs)


    def SetEquirectangular(self, *args, **kwargs):
        """SetEquirectangular(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetEquirectangular(self, *args, **kwargs)


    def SetEquirectangular2(self, *args, **kwargs):
        """SetEquirectangular2(SpatialReference self, double clat, double clong, double pseudostdparallellat, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetEquirectangular2(self, *args, **kwargs)


    def SetGaussSchreiberTMercator(self, *args, **kwargs):
        """SetGaussSchreiberTMercator(SpatialReference self, double clat, double clong, double sc, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetGaussSchreiberTMercator(self, *args, **kwargs)


    def SetGS(self, *args, **kwargs):
        """SetGS(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetGS(self, *args, **kwargs)


    def SetGH(self, *args, **kwargs):
        """SetGH(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetGH(self, *args, **kwargs)


    def SetIGH(self, *args):
        """SetIGH(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_SetIGH(self, *args)


    def SetGEOS(self, *args, **kwargs):
        """SetGEOS(SpatialReference self, double cm, double satelliteheight, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetGEOS(self, *args, **kwargs)


    def SetGnomonic(self, *args, **kwargs):
        """SetGnomonic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetGnomonic(self, *args, **kwargs)


    def SetHOM(self, *args, **kwargs):
        """SetHOM(SpatialReference self, double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetHOM(self, *args, **kwargs)


    def SetHOM2PNO(self, *args, **kwargs):
        """SetHOM2PNO(SpatialReference self, double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetHOM2PNO(self, *args, **kwargs)


    def SetKrovak(self, *args, **kwargs):
        """SetKrovak(SpatialReference self, double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetKrovak(self, *args, **kwargs)


    def SetLAEA(self, *args, **kwargs):
        """SetLAEA(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetLAEA(self, *args, **kwargs)


    def SetLCC(self, *args, **kwargs):
        """SetLCC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetLCC(self, *args, **kwargs)


    def SetLCC1SP(self, *args, **kwargs):
        """SetLCC1SP(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetLCC1SP(self, *args, **kwargs)


    def SetLCCB(self, *args, **kwargs):
        """SetLCCB(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetLCCB(self, *args, **kwargs)


    def SetMC(self, *args, **kwargs):
        """SetMC(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetMC(self, *args, **kwargs)


    def SetMercator(self, *args, **kwargs):
        """SetMercator(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetMercator(self, *args, **kwargs)


    def SetMollweide(self, *args, **kwargs):
        """SetMollweide(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetMollweide(self, *args, **kwargs)


    def SetNZMG(self, *args, **kwargs):
        """SetNZMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetNZMG(self, *args, **kwargs)


    def SetOS(self, *args, **kwargs):
        """SetOS(SpatialReference self, double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetOS(self, *args, **kwargs)


    def SetOrthographic(self, *args, **kwargs):
        """SetOrthographic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetOrthographic(self, *args, **kwargs)


    def SetPolyconic(self, *args, **kwargs):
        """SetPolyconic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetPolyconic(self, *args, **kwargs)


    def SetPS(self, *args, **kwargs):
        """SetPS(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetPS(self, *args, **kwargs)


    def SetRobinson(self, *args, **kwargs):
        """SetRobinson(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetRobinson(self, *args, **kwargs)


    def SetSinusoidal(self, *args, **kwargs):
        """SetSinusoidal(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetSinusoidal(self, *args, **kwargs)


    def SetStereographic(self, *args, **kwargs):
        """SetStereographic(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetStereographic(self, *args, **kwargs)


    def SetSOC(self, *args, **kwargs):
        """SetSOC(SpatialReference self, double latitudeoforigin, double cm, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetSOC(self, *args, **kwargs)


    def SetTM(self, *args, **kwargs):
        """SetTM(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetTM(self, *args, **kwargs)


    def SetTMVariant(self, *args, **kwargs):
        """SetTMVariant(SpatialReference self, char const * pszVariantName, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetTMVariant(self, *args, **kwargs)


    def SetTMG(self, *args, **kwargs):
        """SetTMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetTMG(self, *args, **kwargs)


    def SetTMSO(self, *args, **kwargs):
        """SetTMSO(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetTMSO(self, *args, **kwargs)


    def SetVDG(self, *args, **kwargs):
        """SetVDG(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
        return _osr.SpatialReference_SetVDG(self, *args, **kwargs)


    def SetWellKnownGeogCS(self, *args):
        """SetWellKnownGeogCS(SpatialReference self, char const * name) -> OGRErr"""
        return _osr.SpatialReference_SetWellKnownGeogCS(self, *args)


    def SetFromUserInput(self, *args):
        """SetFromUserInput(SpatialReference self, char const * name) -> OGRErr"""
        return _osr.SpatialReference_SetFromUserInput(self, *args)


    def CopyGeogCSFrom(self, *args):
        """CopyGeogCSFrom(SpatialReference self, SpatialReference rhs) -> OGRErr"""
        return _osr.SpatialReference_CopyGeogCSFrom(self, *args)


    def SetTOWGS84(self, *args):
        """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"""
        return _osr.SpatialReference_SetTOWGS84(self, *args)


    def GetTOWGS84(self, *args):
        """GetTOWGS84(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_GetTOWGS84(self, *args)


    def SetLocalCS(self, *args):
        """SetLocalCS(SpatialReference self, char const * pszName) -> OGRErr"""
        return _osr.SpatialReference_SetLocalCS(self, *args)


    def SetGeogCS(self, *args):
        """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"""
        return _osr.SpatialReference_SetGeogCS(self, *args)


    def SetProjCS(self, *args):
        """SetProjCS(SpatialReference self, char const * name) -> OGRErr"""
        return _osr.SpatialReference_SetProjCS(self, *args)


    def SetGeocCS(self, *args):
        """SetGeocCS(SpatialReference self, char const * name) -> OGRErr"""
        return _osr.SpatialReference_SetGeocCS(self, *args)


    def SetVertCS(self, *args):
        """SetVertCS(SpatialReference self, char const * VertCSName, char const * VertDatumName, int VertDatumType=0) -> OGRErr"""
        return _osr.SpatialReference_SetVertCS(self, *args)


    def SetCompoundCS(self, *args):
        """SetCompoundCS(SpatialReference self, char const * name, SpatialReference horizcs, SpatialReference vertcs) -> OGRErr"""
        return _osr.SpatialReference_SetCompoundCS(self, *args)


    def ImportFromWkt(self, *args):
        """ImportFromWkt(SpatialReference self, char ** ppszInput) -> OGRErr"""
        return _osr.SpatialReference_ImportFromWkt(self, *args)


    def ImportFromProj4(self, *args):
        """ImportFromProj4(SpatialReference self, char * ppszInput) -> OGRErr"""
        return _osr.SpatialReference_ImportFromProj4(self, *args)


    def ImportFromUrl(self, *args):
        """ImportFromUrl(SpatialReference self, char * url) -> OGRErr"""
        return _osr.SpatialReference_ImportFromUrl(self, *args)


    def ImportFromESRI(self, *args):
        """ImportFromESRI(SpatialReference self, char ** ppszInput) -> OGRErr"""
        return _osr.SpatialReference_ImportFromESRI(self, *args)


    def ImportFromEPSG(self, *args):
        """ImportFromEPSG(SpatialReference self, int arg) -> OGRErr"""
        return _osr.SpatialReference_ImportFromEPSG(self, *args)


    def ImportFromEPSGA(self, *args):
        """ImportFromEPSGA(SpatialReference self, int arg) -> OGRErr"""
        return _osr.SpatialReference_ImportFromEPSGA(self, *args)


    def ImportFromPCI(self, *args):
        """ImportFromPCI(SpatialReference self, char const * proj, char const * units, double [17] argin=0) -> OGRErr"""
        return _osr.SpatialReference_ImportFromPCI(self, *args)


    def ImportFromUSGS(self, *args):
        """ImportFromUSGS(SpatialReference self, long proj_code, long zone=0, double [15] argin=0, long datum_code=0) -> OGRErr"""
        return _osr.SpatialReference_ImportFromUSGS(self, *args)


    def ImportFromXML(self, *args):
        """ImportFromXML(SpatialReference self, char const * xmlString) -> OGRErr"""
        return _osr.SpatialReference_ImportFromXML(self, *args)


    def ImportFromERM(self, *args):
        """ImportFromERM(SpatialReference self, char const * proj, char const * datum, char const * units) -> OGRErr"""
        return _osr.SpatialReference_ImportFromERM(self, *args)


    def ImportFromMICoordSys(self, *args):
        """ImportFromMICoordSys(SpatialReference self, char const * pszCoordSys) -> OGRErr"""
        return _osr.SpatialReference_ImportFromMICoordSys(self, *args)


    def ImportFromOzi(self, *args):
        """ImportFromOzi(SpatialReference self, char const * datum, char const * proj, char const * projParms) -> OGRErr"""
        return _osr.SpatialReference_ImportFromOzi(self, *args)


    def ExportToWkt(self, *args):
        """ExportToWkt(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_ExportToWkt(self, *args)


    def ExportToPrettyWkt(self, *args):
        """ExportToPrettyWkt(SpatialReference self, int simplify=0) -> OGRErr"""
        return _osr.SpatialReference_ExportToPrettyWkt(self, *args)


    def ExportToProj4(self, *args):
        """ExportToProj4(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_ExportToProj4(self, *args)


    def ExportToPCI(self, *args):
        """ExportToPCI(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_ExportToPCI(self, *args)


    def ExportToUSGS(self, *args):
        """ExportToUSGS(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_ExportToUSGS(self, *args)


    def ExportToXML(self, *args):
        """ExportToXML(SpatialReference self, char const * dialect) -> OGRErr"""
        return _osr.SpatialReference_ExportToXML(self, *args)


    def ExportToMICoordSys(self, *args):
        """ExportToMICoordSys(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_ExportToMICoordSys(self, *args)


    def CloneGeogCS(self, *args):
        """CloneGeogCS(SpatialReference self) -> SpatialReference"""
        return _osr.SpatialReference_CloneGeogCS(self, *args)


    def Clone(self, *args):
        """Clone(SpatialReference self) -> SpatialReference"""
        return _osr.SpatialReference_Clone(self, *args)


    def Validate(self, *args):
        """Validate(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_Validate(self, *args)


    def StripCTParms(self, *args):
        """StripCTParms(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_StripCTParms(self, *args)


    def FixupOrdering(self, *args):
        """FixupOrdering(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_FixupOrdering(self, *args)


    def Fixup(self, *args):
        """Fixup(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_Fixup(self, *args)


    def MorphToESRI(self, *args):
        """MorphToESRI(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_MorphToESRI(self, *args)


    def MorphFromESRI(self, *args):
        """MorphFromESRI(SpatialReference self) -> OGRErr"""
        return _osr.SpatialReference_MorphFromESRI(self, *args)

SpatialReference_swigregister = _osr.SpatialReference_swigregister
SpatialReference_swigregister(SpatialReference)
GetProjectionMethods = _osr.GetProjectionMethods

class CoordinateTransformation(_object):
    """Proxy of C++ OSRCoordinateTransformationShadow class."""

    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, CoordinateTransformation, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, CoordinateTransformation, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        """__init__(OSRCoordinateTransformationShadow self, SpatialReference src, SpatialReference dst) -> CoordinateTransformation"""
        this = _osr.new_CoordinateTransformation(*args)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _osr.delete_CoordinateTransformation
    __del__ = lambda self: None

    def TransformPoint(self, *args):
        """
        TransformPoint(CoordinateTransformation self, double [3] inout)
        TransformPoint(CoordinateTransformation self, double x, double y, double z=0.0)
        """
        return _osr.CoordinateTransformation_TransformPoint(self, *args)


    def TransformPoints(self, *args):
        """TransformPoints(CoordinateTransformation self, int nCount)"""
        return _osr.CoordinateTransformation_TransformPoints(self, *args)

CoordinateTransformation_swigregister = _osr.CoordinateTransformation_swigregister
CoordinateTransformation_swigregister(CoordinateTransformation)


def CreateCoordinateTransformation(*args):
    """CreateCoordinateTransformation(SpatialReference src, SpatialReference dst) -> CoordinateTransformation"""
    return _osr.CreateCoordinateTransformation(*args)
# This file is compatible with both classic and new-style classes.