~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to swig/python/osgeo/osr.py

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# This file was automatically generated by SWIG (http://www.swig.org).
2
 
# Version 1.3.39
 
2
# Version 1.3.40
3
3
#
4
4
# Do not make changes to this file unless you know what you are doing--modify
5
5
# the SWIG interface file instead.
21
21
                _mod = imp.load_module('_osr', fp, pathname, description)
22
22
            finally:
23
23
                fp.close()
24
 
                return _mod
 
24
            return _mod
25
25
    _osr = swig_import_helper()
26
26
    del swig_import_helper
27
27
else:
84
84
SRS_PT_GAUSSSCHREIBERTMERCATOR = _osr.SRS_PT_GAUSSSCHREIBERTMERCATOR
85
85
SRS_PT_GEOSTATIONARY_SATELLITE = _osr.SRS_PT_GEOSTATIONARY_SATELLITE
86
86
SRS_PT_GOODE_HOMOLOSINE = _osr.SRS_PT_GOODE_HOMOLOSINE
 
87
SRS_PT_IGH = _osr.SRS_PT_IGH
87
88
SRS_PT_GNOMONIC = _osr.SRS_PT_GNOMONIC
88
89
SRS_PT_HOTINE_OBLIQUE_MERCATOR = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR
89
90
SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN
166
167
SRS_UL_CHAIN_CONV = _osr.SRS_UL_CHAIN_CONV
167
168
SRS_UL_ROD = _osr.SRS_UL_ROD
168
169
SRS_UL_ROD_CONV = _osr.SRS_UL_ROD_CONV
 
170
SRS_UL_LINK_Clarke = _osr.SRS_UL_LINK_Clarke
 
171
SRS_UL_LINK_Clarke_CONV = _osr.SRS_UL_LINK_Clarke_CONV
169
172
SRS_UA_DEGREE = _osr.SRS_UA_DEGREE
170
173
SRS_UA_DEGREE_CONV = _osr.SRS_UA_DEGREE_CONV
171
174
SRS_UA_RADIAN = _osr.SRS_UA_RADIAN
177
180
SRS_WGS84_SEMIMAJOR = _osr.SRS_WGS84_SEMIMAJOR
178
181
SRS_WGS84_INVFLATTENING = _osr.SRS_WGS84_INVFLATTENING
179
182
 
 
183
def GetUseExceptions(*args):
 
184
  """GetUseExceptions() -> int"""
 
185
  return _osr.GetUseExceptions(*args)
 
186
 
180
187
def UseExceptions(*args):
181
188
  """UseExceptions()"""
182
189
  return _osr.UseExceptions(*args)
218
225
        """IsSameGeogCS(self, SpatialReference rhs) -> int"""
219
226
        return _osr.SpatialReference_IsSameGeogCS(self, *args)
220
227
 
 
228
    def IsSameVertCS(self, *args):
 
229
        """IsSameVertCS(self, SpatialReference rhs) -> int"""
 
230
        return _osr.SpatialReference_IsSameVertCS(self, *args)
 
231
 
221
232
    def IsGeographic(self, *args):
222
233
        """IsGeographic(self) -> int"""
223
234
        return _osr.SpatialReference_IsGeographic(self, *args)
226
237
        """IsProjected(self) -> int"""
227
238
        return _osr.SpatialReference_IsProjected(self, *args)
228
239
 
 
240
    def IsCompound(self, *args):
 
241
        """IsCompound(self) -> int"""
 
242
        return _osr.SpatialReference_IsCompound(self, *args)
 
243
 
 
244
    def IsGeocentric(self, *args):
 
245
        """IsGeocentric(self) -> int"""
 
246
        return _osr.SpatialReference_IsGeocentric(self, *args)
 
247
 
229
248
    def IsLocal(self, *args):
230
249
        """IsLocal(self) -> int"""
231
250
        return _osr.SpatialReference_IsLocal(self, *args)
232
251
 
 
252
    def IsVertical(self, *args):
 
253
        """IsVertical(self) -> int"""
 
254
        return _osr.SpatialReference_IsVertical(self, *args)
 
255
 
233
256
    def EPSGTreatsAsLatLong(self, *args):
234
257
        """EPSGTreatsAsLatLong(self) -> int"""
235
258
        return _osr.SpatialReference_EPSGTreatsAsLatLong(self, *args)
254
277
        """GetAngularUnits(self) -> double"""
255
278
        return _osr.SpatialReference_GetAngularUnits(self, *args)
256
279
 
 
280
    def SetTargetLinearUnits(self, *args):
 
281
        """SetTargetLinearUnits(self, char target, char name, double to_meters) -> OGRErr"""
 
282
        return _osr.SpatialReference_SetTargetLinearUnits(self, *args)
 
283
 
257
284
    def SetLinearUnits(self, *args):
258
285
        """SetLinearUnits(self, char name, double to_meters) -> OGRErr"""
259
286
        return _osr.SpatialReference_SetLinearUnits(self, *args)
282
309
        """SetUTM(self, int zone, int north = 1) -> OGRErr"""
283
310
        return _osr.SpatialReference_SetUTM(self, *args)
284
311
 
 
312
    def GetUTMZone(self, *args):
 
313
        """GetUTMZone(self) -> int"""
 
314
        return _osr.SpatialReference_GetUTMZone(self, *args)
 
315
 
285
316
    def SetStatePlane(self, *args):
286
317
        """SetStatePlane(self, int zone, int is_nad83 = 1, char unitsname = "", double units = 0.0) -> OGRErr"""
287
318
        return _osr.SpatialReference_SetStatePlane(self, *args)
310
341
        """GetNormProjParm(self, char name, double default_val = 0.0) -> double"""
311
342
        return _osr.SpatialReference_GetNormProjParm(self, *args)
312
343
 
 
344
    def GetSemiMajor(self, *args):
 
345
        """GetSemiMajor(self) -> double"""
 
346
        return _osr.SpatialReference_GetSemiMajor(self, *args)
 
347
 
 
348
    def GetSemiMinor(self, *args):
 
349
        """GetSemiMinor(self) -> double"""
 
350
        return _osr.SpatialReference_GetSemiMinor(self, *args)
 
351
 
 
352
    def GetInvFlattening(self, *args):
 
353
        """GetInvFlattening(self) -> double"""
 
354
        return _osr.SpatialReference_GetInvFlattening(self, *args)
 
355
 
313
356
    def SetACEA(self, *args, **kwargs):
314
357
        """
315
358
        SetACEA(self, double stdp1, double stdp2, double clat, double clong, 
371
414
        """SetGH(self, double cm, double fe, double fn) -> OGRErr"""
372
415
        return _osr.SpatialReference_SetGH(self, *args, **kwargs)
373
416
 
 
417
    def SetIGH(self, *args):
 
418
        """SetIGH(self) -> OGRErr"""
 
419
        return _osr.SpatialReference_SetIGH(self, *args)
 
420
 
374
421
    def SetGEOS(self, *args, **kwargs):
375
422
        """SetGEOS(self, double cm, double satelliteheight, double fe, double fn) -> OGRErr"""
376
423
        return _osr.SpatialReference_SetGEOS(self, *args, **kwargs)
556
603
        """SetProjCS(self, char name = "unnamed") -> OGRErr"""
557
604
        return _osr.SpatialReference_SetProjCS(self, *args)
558
605
 
 
606
    def SetGeocCS(self, *args):
 
607
        """SetGeocCS(self, char name = "unnamed") -> OGRErr"""
 
608
        return _osr.SpatialReference_SetGeocCS(self, *args)
 
609
 
 
610
    def SetVertCS(self, *args):
 
611
        """
 
612
        SetVertCS(self, char VertCSName = "unnamed", char VertDatumName = "unnamed", 
 
613
            int VertDatumType = 0) -> OGRErr
 
614
        """
 
615
        return _osr.SpatialReference_SetVertCS(self, *args)
 
616
 
 
617
    def SetCompoundCS(self, *args):
 
618
        """SetCompoundCS(self, char name, SpatialReference horizcs, SpatialReference vertcs) -> OGRErr"""
 
619
        return _osr.SpatialReference_SetCompoundCS(self, *args)
 
620
 
559
621
    def ImportFromWkt(self, *args):
560
622
        """ImportFromWkt(self, char ppszInput) -> OGRErr"""
561
623
        return _osr.SpatialReference_ImportFromWkt(self, *args)
592
654
        """ImportFromXML(self, char xmlString) -> OGRErr"""
593
655
        return _osr.SpatialReference_ImportFromXML(self, *args)
594
656
 
 
657
    def ImportFromERM(self, *args):
 
658
        """ImportFromERM(self, char proj, char datum, char units) -> OGRErr"""
 
659
        return _osr.SpatialReference_ImportFromERM(self, *args)
 
660
 
595
661
    def ImportFromMICoordSys(self, *args):
596
662
        """ImportFromMICoordSys(self, char pszCoordSys) -> OGRErr"""
597
663
        return _osr.SpatialReference_ImportFromMICoordSys(self, *args)