1
2
3
4
5
6
7 from sys import version_info as _swig_python_version_info
8 if _swig_python_version_info >= (2, 7, 0):
10 import importlib
11 pkg = __name__.rpartition('.')[0]
12 mname = '.'.join((pkg, '_osr')).lstrip('.')
13 try:
14 return importlib.import_module(mname)
15 except ImportError:
16 return importlib.import_module('_osr')
17 _osr = swig_import_helper()
18 del swig_import_helper
19 elif _swig_python_version_info >= (2, 6, 0):
21 from os.path import dirname
22 import imp
23 fp = None
24 try:
25 fp, pathname, description = imp.find_module('_osr', [dirname(__file__)])
26 except ImportError:
27 import _osr
28 return _osr
29 try:
30 _mod = imp.load_module('_osr', fp, pathname, description)
31 finally:
32 if fp is not None:
33 fp.close()
34 return _mod
35 _osr = swig_import_helper()
36 del swig_import_helper
37 else:
38 import _osr
39 del _swig_python_version_info
40
41 try:
42 _swig_property = property
43 except NameError:
44 pass
45
46 try:
47 import builtins as __builtin__
48 except ImportError:
49 import __builtin__
50
52 if (name == "thisown"):
53 return self.this.own(value)
54 if (name == "this"):
55 if type(value).__name__ == 'SwigPyObject':
56 self.__dict__[name] = value
57 return
58 method = class_type.__swig_setmethods__.get(name, None)
59 if method:
60 return method(self, value)
61 if (not static):
62 if _newclass:
63 object.__setattr__(self, name, value)
64 else:
65 self.__dict__[name] = value
66 else:
67 raise AttributeError("You cannot add attributes to %s" % self)
68
69
72
73
75 if (name == "thisown"):
76 return self.this.own()
77 method = class_type.__swig_getmethods__.get(name, None)
78 if method:
79 return method(self)
80 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
81
82
84 try:
85 strthis = "proxy of " + self.this.__repr__()
86 except __builtin__.Exception:
87 strthis = ""
88 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
89
90 try:
91 _object = object
92 _newclass = 1
93 except __builtin__.Exception:
96 _newclass = 0
97
98 SRS_WKT_WGS84_LAT_LONG = _osr.SRS_WKT_WGS84_LAT_LONG
99 SRS_PT_ALBERS_CONIC_EQUAL_AREA = _osr.SRS_PT_ALBERS_CONIC_EQUAL_AREA
100 SRS_PT_AZIMUTHAL_EQUIDISTANT = _osr.SRS_PT_AZIMUTHAL_EQUIDISTANT
101 SRS_PT_CASSINI_SOLDNER = _osr.SRS_PT_CASSINI_SOLDNER
102 SRS_PT_CYLINDRICAL_EQUAL_AREA = _osr.SRS_PT_CYLINDRICAL_EQUAL_AREA
103 SRS_PT_BONNE = _osr.SRS_PT_BONNE
104 SRS_PT_ECKERT_I = _osr.SRS_PT_ECKERT_I
105 SRS_PT_ECKERT_II = _osr.SRS_PT_ECKERT_II
106 SRS_PT_ECKERT_III = _osr.SRS_PT_ECKERT_III
107 SRS_PT_ECKERT_IV = _osr.SRS_PT_ECKERT_IV
108 SRS_PT_ECKERT_V = _osr.SRS_PT_ECKERT_V
109 SRS_PT_ECKERT_VI = _osr.SRS_PT_ECKERT_VI
110 SRS_PT_EQUIDISTANT_CONIC = _osr.SRS_PT_EQUIDISTANT_CONIC
111 SRS_PT_EQUIRECTANGULAR = _osr.SRS_PT_EQUIRECTANGULAR
112 SRS_PT_GALL_STEREOGRAPHIC = _osr.SRS_PT_GALL_STEREOGRAPHIC
113 SRS_PT_GAUSSSCHREIBERTMERCATOR = _osr.SRS_PT_GAUSSSCHREIBERTMERCATOR
114 SRS_PT_GEOSTATIONARY_SATELLITE = _osr.SRS_PT_GEOSTATIONARY_SATELLITE
115 SRS_PT_GOODE_HOMOLOSINE = _osr.SRS_PT_GOODE_HOMOLOSINE
116 SRS_PT_IGH = _osr.SRS_PT_IGH
117 SRS_PT_GNOMONIC = _osr.SRS_PT_GNOMONIC
118 SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER
119 SRS_PT_HOTINE_OBLIQUE_MERCATOR = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR
120 SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN = _osr.SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN
121 SRS_PT_LABORDE_OBLIQUE_MERCATOR = _osr.SRS_PT_LABORDE_OBLIQUE_MERCATOR
122 SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
123 SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
124 SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM = _osr.SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM
125 SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA = _osr.SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA
126 SRS_PT_MERCATOR_1SP = _osr.SRS_PT_MERCATOR_1SP
127 SRS_PT_MERCATOR_2SP = _osr.SRS_PT_MERCATOR_2SP
128 SRS_PT_MERCATOR_AUXILIARY_SPHERE = _osr.SRS_PT_MERCATOR_AUXILIARY_SPHERE
129 SRS_PT_MILLER_CYLINDRICAL = _osr.SRS_PT_MILLER_CYLINDRICAL
130 SRS_PT_MOLLWEIDE = _osr.SRS_PT_MOLLWEIDE
131 SRS_PT_NEW_ZEALAND_MAP_GRID = _osr.SRS_PT_NEW_ZEALAND_MAP_GRID
132 SRS_PT_OBLIQUE_STEREOGRAPHIC = _osr.SRS_PT_OBLIQUE_STEREOGRAPHIC
133 SRS_PT_ORTHOGRAPHIC = _osr.SRS_PT_ORTHOGRAPHIC
134 SRS_PT_POLAR_STEREOGRAPHIC = _osr.SRS_PT_POLAR_STEREOGRAPHIC
135 SRS_PT_POLYCONIC = _osr.SRS_PT_POLYCONIC
136 SRS_PT_ROBINSON = _osr.SRS_PT_ROBINSON
137 SRS_PT_SINUSOIDAL = _osr.SRS_PT_SINUSOIDAL
138 SRS_PT_STEREOGRAPHIC = _osr.SRS_PT_STEREOGRAPHIC
139 SRS_PT_SWISS_OBLIQUE_CYLINDRICAL = _osr.SRS_PT_SWISS_OBLIQUE_CYLINDRICAL
140 SRS_PT_TRANSVERSE_MERCATOR = _osr.SRS_PT_TRANSVERSE_MERCATOR
141 SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED = _osr.SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
142 SRS_PT_TRANSVERSE_MERCATOR_MI_21 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_21
143 SRS_PT_TRANSVERSE_MERCATOR_MI_22 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_22
144 SRS_PT_TRANSVERSE_MERCATOR_MI_23 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_23
145 SRS_PT_TRANSVERSE_MERCATOR_MI_24 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_24
146 SRS_PT_TRANSVERSE_MERCATOR_MI_25 = _osr.SRS_PT_TRANSVERSE_MERCATOR_MI_25
147 SRS_PT_TUNISIA_MINING_GRID = _osr.SRS_PT_TUNISIA_MINING_GRID
148 SRS_PT_TWO_POINT_EQUIDISTANT = _osr.SRS_PT_TWO_POINT_EQUIDISTANT
149 SRS_PT_VANDERGRINTEN = _osr.SRS_PT_VANDERGRINTEN
150 SRS_PT_KROVAK = _osr.SRS_PT_KROVAK
151 SRS_PT_IMW_POLYCONIC = _osr.SRS_PT_IMW_POLYCONIC
152 SRS_PT_WAGNER_I = _osr.SRS_PT_WAGNER_I
153 SRS_PT_WAGNER_II = _osr.SRS_PT_WAGNER_II
154 SRS_PT_WAGNER_III = _osr.SRS_PT_WAGNER_III
155 SRS_PT_WAGNER_IV = _osr.SRS_PT_WAGNER_IV
156 SRS_PT_WAGNER_V = _osr.SRS_PT_WAGNER_V
157 SRS_PT_WAGNER_VI = _osr.SRS_PT_WAGNER_VI
158 SRS_PT_WAGNER_VII = _osr.SRS_PT_WAGNER_VII
159 SRS_PT_QSC = _osr.SRS_PT_QSC
160 SRS_PT_AITOFF = _osr.SRS_PT_AITOFF
161 SRS_PT_WINKEL_I = _osr.SRS_PT_WINKEL_I
162 SRS_PT_WINKEL_II = _osr.SRS_PT_WINKEL_II
163 SRS_PT_WINKEL_TRIPEL = _osr.SRS_PT_WINKEL_TRIPEL
164 SRS_PT_CRASTER_PARABOLIC = _osr.SRS_PT_CRASTER_PARABOLIC
165 SRS_PT_LOXIMUTHAL = _osr.SRS_PT_LOXIMUTHAL
166 SRS_PT_QUARTIC_AUTHALIC = _osr.SRS_PT_QUARTIC_AUTHALIC
167 SRS_PT_SCH = _osr.SRS_PT_SCH
168 SRS_PP_CENTRAL_MERIDIAN = _osr.SRS_PP_CENTRAL_MERIDIAN
169 SRS_PP_SCALE_FACTOR = _osr.SRS_PP_SCALE_FACTOR
170 SRS_PP_STANDARD_PARALLEL_1 = _osr.SRS_PP_STANDARD_PARALLEL_1
171 SRS_PP_STANDARD_PARALLEL_2 = _osr.SRS_PP_STANDARD_PARALLEL_2
172 SRS_PP_PSEUDO_STD_PARALLEL_1 = _osr.SRS_PP_PSEUDO_STD_PARALLEL_1
173 SRS_PP_LONGITUDE_OF_CENTER = _osr.SRS_PP_LONGITUDE_OF_CENTER
174 SRS_PP_LATITUDE_OF_CENTER = _osr.SRS_PP_LATITUDE_OF_CENTER
175 SRS_PP_LONGITUDE_OF_ORIGIN = _osr.SRS_PP_LONGITUDE_OF_ORIGIN
176 SRS_PP_LATITUDE_OF_ORIGIN = _osr.SRS_PP_LATITUDE_OF_ORIGIN
177 SRS_PP_FALSE_EASTING = _osr.SRS_PP_FALSE_EASTING
178 SRS_PP_FALSE_NORTHING = _osr.SRS_PP_FALSE_NORTHING
179 SRS_PP_AZIMUTH = _osr.SRS_PP_AZIMUTH
180 SRS_PP_LONGITUDE_OF_POINT_1 = _osr.SRS_PP_LONGITUDE_OF_POINT_1
181 SRS_PP_LATITUDE_OF_POINT_1 = _osr.SRS_PP_LATITUDE_OF_POINT_1
182 SRS_PP_LONGITUDE_OF_POINT_2 = _osr.SRS_PP_LONGITUDE_OF_POINT_2
183 SRS_PP_LATITUDE_OF_POINT_2 = _osr.SRS_PP_LATITUDE_OF_POINT_2
184 SRS_PP_LONGITUDE_OF_POINT_3 = _osr.SRS_PP_LONGITUDE_OF_POINT_3
185 SRS_PP_LATITUDE_OF_POINT_3 = _osr.SRS_PP_LATITUDE_OF_POINT_3
186 SRS_PP_RECTIFIED_GRID_ANGLE = _osr.SRS_PP_RECTIFIED_GRID_ANGLE
187 SRS_PP_LANDSAT_NUMBER = _osr.SRS_PP_LANDSAT_NUMBER
188 SRS_PP_PATH_NUMBER = _osr.SRS_PP_PATH_NUMBER
189 SRS_PP_PERSPECTIVE_POINT_HEIGHT = _osr.SRS_PP_PERSPECTIVE_POINT_HEIGHT
190 SRS_PP_SATELLITE_HEIGHT = _osr.SRS_PP_SATELLITE_HEIGHT
191 SRS_PP_FIPSZONE = _osr.SRS_PP_FIPSZONE
192 SRS_PP_ZONE = _osr.SRS_PP_ZONE
193 SRS_PP_LATITUDE_OF_1ST_POINT = _osr.SRS_PP_LATITUDE_OF_1ST_POINT
194 SRS_PP_LONGITUDE_OF_1ST_POINT = _osr.SRS_PP_LONGITUDE_OF_1ST_POINT
195 SRS_PP_LATITUDE_OF_2ND_POINT = _osr.SRS_PP_LATITUDE_OF_2ND_POINT
196 SRS_PP_LONGITUDE_OF_2ND_POINT = _osr.SRS_PP_LONGITUDE_OF_2ND_POINT
197 SRS_PP_PEG_POINT_LATITUDE = _osr.SRS_PP_PEG_POINT_LATITUDE
198 SRS_PP_PEG_POINT_LONGITUDE = _osr.SRS_PP_PEG_POINT_LONGITUDE
199 SRS_PP_PEG_POINT_HEADING = _osr.SRS_PP_PEG_POINT_HEADING
200 SRS_PP_PEG_POINT_HEIGHT = _osr.SRS_PP_PEG_POINT_HEIGHT
201 SRS_UL_METER = _osr.SRS_UL_METER
202 SRS_UL_FOOT = _osr.SRS_UL_FOOT
203 SRS_UL_FOOT_CONV = _osr.SRS_UL_FOOT_CONV
204 SRS_UL_US_FOOT = _osr.SRS_UL_US_FOOT
205 SRS_UL_US_FOOT_CONV = _osr.SRS_UL_US_FOOT_CONV
206 SRS_UL_NAUTICAL_MILE = _osr.SRS_UL_NAUTICAL_MILE
207 SRS_UL_NAUTICAL_MILE_CONV = _osr.SRS_UL_NAUTICAL_MILE_CONV
208 SRS_UL_LINK = _osr.SRS_UL_LINK
209 SRS_UL_LINK_CONV = _osr.SRS_UL_LINK_CONV
210 SRS_UL_CHAIN = _osr.SRS_UL_CHAIN
211 SRS_UL_CHAIN_CONV = _osr.SRS_UL_CHAIN_CONV
212 SRS_UL_ROD = _osr.SRS_UL_ROD
213 SRS_UL_ROD_CONV = _osr.SRS_UL_ROD_CONV
214 SRS_UL_LINK_Clarke = _osr.SRS_UL_LINK_Clarke
215 SRS_UL_LINK_Clarke_CONV = _osr.SRS_UL_LINK_Clarke_CONV
216 SRS_UL_KILOMETER = _osr.SRS_UL_KILOMETER
217 SRS_UL_KILOMETER_CONV = _osr.SRS_UL_KILOMETER_CONV
218 SRS_UL_DECIMETER = _osr.SRS_UL_DECIMETER
219 SRS_UL_DECIMETER_CONV = _osr.SRS_UL_DECIMETER_CONV
220 SRS_UL_CENTIMETER = _osr.SRS_UL_CENTIMETER
221 SRS_UL_CENTIMETER_CONV = _osr.SRS_UL_CENTIMETER_CONV
222 SRS_UL_MILLIMETER = _osr.SRS_UL_MILLIMETER
223 SRS_UL_MILLIMETER_CONV = _osr.SRS_UL_MILLIMETER_CONV
224 SRS_UL_INTL_NAUT_MILE = _osr.SRS_UL_INTL_NAUT_MILE
225 SRS_UL_INTL_NAUT_MILE_CONV = _osr.SRS_UL_INTL_NAUT_MILE_CONV
226 SRS_UL_INTL_INCH = _osr.SRS_UL_INTL_INCH
227 SRS_UL_INTL_INCH_CONV = _osr.SRS_UL_INTL_INCH_CONV
228 SRS_UL_INTL_FOOT = _osr.SRS_UL_INTL_FOOT
229 SRS_UL_INTL_FOOT_CONV = _osr.SRS_UL_INTL_FOOT_CONV
230 SRS_UL_INTL_YARD = _osr.SRS_UL_INTL_YARD
231 SRS_UL_INTL_YARD_CONV = _osr.SRS_UL_INTL_YARD_CONV
232 SRS_UL_INTL_STAT_MILE = _osr.SRS_UL_INTL_STAT_MILE
233 SRS_UL_INTL_STAT_MILE_CONV = _osr.SRS_UL_INTL_STAT_MILE_CONV
234 SRS_UL_INTL_FATHOM = _osr.SRS_UL_INTL_FATHOM
235 SRS_UL_INTL_FATHOM_CONV = _osr.SRS_UL_INTL_FATHOM_CONV
236 SRS_UL_INTL_CHAIN = _osr.SRS_UL_INTL_CHAIN
237 SRS_UL_INTL_CHAIN_CONV = _osr.SRS_UL_INTL_CHAIN_CONV
238 SRS_UL_INTL_LINK = _osr.SRS_UL_INTL_LINK
239 SRS_UL_INTL_LINK_CONV = _osr.SRS_UL_INTL_LINK_CONV
240 SRS_UL_US_INCH = _osr.SRS_UL_US_INCH
241 SRS_UL_US_INCH_CONV = _osr.SRS_UL_US_INCH_CONV
242 SRS_UL_US_YARD = _osr.SRS_UL_US_YARD
243 SRS_UL_US_YARD_CONV = _osr.SRS_UL_US_YARD_CONV
244 SRS_UL_US_CHAIN = _osr.SRS_UL_US_CHAIN
245 SRS_UL_US_CHAIN_CONV = _osr.SRS_UL_US_CHAIN_CONV
246 SRS_UL_US_STAT_MILE = _osr.SRS_UL_US_STAT_MILE
247 SRS_UL_US_STAT_MILE_CONV = _osr.SRS_UL_US_STAT_MILE_CONV
248 SRS_UL_INDIAN_YARD = _osr.SRS_UL_INDIAN_YARD
249 SRS_UL_INDIAN_YARD_CONV = _osr.SRS_UL_INDIAN_YARD_CONV
250 SRS_UL_INDIAN_FOOT = _osr.SRS_UL_INDIAN_FOOT
251 SRS_UL_INDIAN_FOOT_CONV = _osr.SRS_UL_INDIAN_FOOT_CONV
252 SRS_UL_INDIAN_CHAIN = _osr.SRS_UL_INDIAN_CHAIN
253 SRS_UL_INDIAN_CHAIN_CONV = _osr.SRS_UL_INDIAN_CHAIN_CONV
254 SRS_UA_DEGREE = _osr.SRS_UA_DEGREE
255 SRS_UA_DEGREE_CONV = _osr.SRS_UA_DEGREE_CONV
256 SRS_UA_RADIAN = _osr.SRS_UA_RADIAN
257 SRS_PM_GREENWICH = _osr.SRS_PM_GREENWICH
258 SRS_DN_NAD27 = _osr.SRS_DN_NAD27
259 SRS_DN_NAD83 = _osr.SRS_DN_NAD83
260 SRS_DN_WGS72 = _osr.SRS_DN_WGS72
261 SRS_DN_WGS84 = _osr.SRS_DN_WGS84
262 SRS_WGS84_SEMIMAJOR = _osr.SRS_WGS84_SEMIMAJOR
263 SRS_WGS84_INVFLATTENING = _osr.SRS_WGS84_INVFLATTENING
264 OAO_Other = _osr.OAO_Other
265 OAO_North = _osr.OAO_North
266 OAO_South = _osr.OAO_South
267 OAO_East = _osr.OAO_East
268 OAO_West = _osr.OAO_West
269 OAO_Up = _osr.OAO_Up
270 OAO_Down = _osr.OAO_Down
271 OAMS_TRADITIONAL_GIS_ORDER = _osr.OAMS_TRADITIONAL_GIS_ORDER
272 OAMS_AUTHORITY_COMPLIANT = _osr.OAMS_AUTHORITY_COMPLIANT
273 OAMS_CUSTOM = _osr.OAMS_CUSTOM
274
278
282
286
290
295 """Proxy of C++ OSRAreaOfUse class."""
296
297 __swig_setmethods__ = {}
298 __setattr__ = lambda self, name, value: _swig_setattr(self, AreaOfUse, name, value)
299 __swig_getmethods__ = {}
300 __getattr__ = lambda self, name: _swig_getattr(self, AreaOfUse, name)
301 __repr__ = _swig_repr
302 __swig_getmethods__["west_lon_degree"] = _osr.AreaOfUse_west_lon_degree_get
303 if _newclass:
304 west_lon_degree = _swig_property(_osr.AreaOfUse_west_lon_degree_get)
305 __swig_getmethods__["south_lat_degree"] = _osr.AreaOfUse_south_lat_degree_get
306 if _newclass:
307 south_lat_degree = _swig_property(_osr.AreaOfUse_south_lat_degree_get)
308 __swig_getmethods__["east_lon_degree"] = _osr.AreaOfUse_east_lon_degree_get
309 if _newclass:
310 east_lon_degree = _swig_property(_osr.AreaOfUse_east_lon_degree_get)
311 __swig_getmethods__["north_lat_degree"] = _osr.AreaOfUse_north_lat_degree_get
312 if _newclass:
313 north_lat_degree = _swig_property(_osr.AreaOfUse_north_lat_degree_get)
314 __swig_getmethods__["name"] = _osr.AreaOfUse_name_get
315 if _newclass:
316 name = _swig_property(_osr.AreaOfUse_name_get)
317
319 """__init__(OSRAreaOfUse self, double west_lon_degree, double south_lat_degree, double east_lon_degree, double north_lat_degree, char * name) -> AreaOfUse"""
320 this = _osr.new_AreaOfUse(*args)
321 try:
322 self.this.append(this)
323 except __builtin__.Exception:
324 self.this = this
325 __swig_destroy__ = _osr.delete_AreaOfUse
326 __del__ = lambda self: None
327 AreaOfUse_swigregister = _osr.AreaOfUse_swigregister
328 AreaOfUse_swigregister(AreaOfUse)
329
330
334
338
342
346
348 """OSRAreaOfUse_name_get(AreaOfUse area) -> char const *"""
349 return _osr.OSRAreaOfUse_name_get(*args)
351 """Proxy of C++ OSRSpatialReferenceShadow class."""
352
353 __swig_setmethods__ = {}
354 __setattr__ = lambda self, name, value: _swig_setattr(self, SpatialReference, name, value)
355 __swig_getmethods__ = {}
356 __getattr__ = lambda self, name: _swig_getattr(self, SpatialReference, name)
357 __repr__ = _swig_repr
358
360 """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference"""
361 this = _osr.new_SpatialReference(*args, **kwargs)
362 try:
363 self.this.append(this)
364 except __builtin__.Exception:
365 self.this = this
366 __swig_destroy__ = _osr.delete_SpatialReference
367 __del__ = lambda self: None
368
370 """__str__(SpatialReference self) -> retStringAndCPLFree *"""
371 return _osr.SpatialReference___str__(self, *args)
372
373
375 """GetName(SpatialReference self) -> char const *"""
376 return _osr.SpatialReference_GetName(self, *args)
377
378
379 - def IsSame(self, *args, **kwargs):
380 """IsSame(SpatialReference self, SpatialReference rhs, char ** options=None) -> int"""
381 return _osr.SpatialReference_IsSame(self, *args, **kwargs)
382
383
385 """IsSameGeogCS(SpatialReference self, SpatialReference rhs) -> int"""
386 return _osr.SpatialReference_IsSameGeogCS(self, *args)
387
388
390 """IsSameVertCS(SpatialReference self, SpatialReference rhs) -> int"""
391 return _osr.SpatialReference_IsSameVertCS(self, *args)
392
393
395 """IsGeographic(SpatialReference self) -> int"""
396 return _osr.SpatialReference_IsGeographic(self, *args)
397
398
400 """IsDerivedGeographic(SpatialReference self) -> int"""
401 return _osr.SpatialReference_IsDerivedGeographic(self, *args)
402
403
405 """IsProjected(SpatialReference self) -> int"""
406 return _osr.SpatialReference_IsProjected(self, *args)
407
408
410 """IsCompound(SpatialReference self) -> int"""
411 return _osr.SpatialReference_IsCompound(self, *args)
412
413
415 """IsGeocentric(SpatialReference self) -> int"""
416 return _osr.SpatialReference_IsGeocentric(self, *args)
417
418
420 """IsLocal(SpatialReference self) -> int"""
421 return _osr.SpatialReference_IsLocal(self, *args)
422
423
425 """IsVertical(SpatialReference self) -> int"""
426 return _osr.SpatialReference_IsVertical(self, *args)
427
428
430 """EPSGTreatsAsLatLong(SpatialReference self) -> int"""
431 return _osr.SpatialReference_EPSGTreatsAsLatLong(self, *args)
432
433
435 """EPSGTreatsAsNorthingEasting(SpatialReference self) -> int"""
436 return _osr.SpatialReference_EPSGTreatsAsNorthingEasting(self, *args)
437
438
440 """SetAuthority(SpatialReference self, char const * pszTargetKey, char const * pszAuthority, int nCode) -> OGRErr"""
441 return _osr.SpatialReference_SetAuthority(self, *args)
442
443
445 """GetAttrValue(SpatialReference self, char const * name, int child=0) -> char const *"""
446 return _osr.SpatialReference_GetAttrValue(self, *args)
447
448
450 """SetAttrValue(SpatialReference self, char const * name, char const * value) -> OGRErr"""
451 return _osr.SpatialReference_SetAttrValue(self, *args)
452
453
455 """SetAngularUnits(SpatialReference self, char const * name, double to_radians) -> OGRErr"""
456 return _osr.SpatialReference_SetAngularUnits(self, *args)
457
458
460 """GetAngularUnits(SpatialReference self) -> double"""
461 return _osr.SpatialReference_GetAngularUnits(self, *args)
462
463
465 """GetAngularUnitsName(SpatialReference self) -> char const *"""
466 return _osr.SpatialReference_GetAngularUnitsName(self, *args)
467
468
470 """SetTargetLinearUnits(SpatialReference self, char const * target, char const * name, double to_meters) -> OGRErr"""
471 return _osr.SpatialReference_SetTargetLinearUnits(self, *args)
472
473
475 """SetLinearUnits(SpatialReference self, char const * name, double to_meters) -> OGRErr"""
476 return _osr.SpatialReference_SetLinearUnits(self, *args)
477
478
480 """SetLinearUnitsAndUpdateParameters(SpatialReference self, char const * name, double to_meters) -> OGRErr"""
481 return _osr.SpatialReference_SetLinearUnitsAndUpdateParameters(self, *args)
482
483
485 """GetTargetLinearUnits(SpatialReference self, char const * target_key) -> double"""
486 return _osr.SpatialReference_GetTargetLinearUnits(self, *args)
487
488
490 """GetLinearUnits(SpatialReference self) -> double"""
491 return _osr.SpatialReference_GetLinearUnits(self, *args)
492
493
495 """GetLinearUnitsName(SpatialReference self) -> char const *"""
496 return _osr.SpatialReference_GetLinearUnitsName(self, *args)
497
498
500 """GetAuthorityCode(SpatialReference self, char const * target_key) -> char const *"""
501 return _osr.SpatialReference_GetAuthorityCode(self, *args)
502
503
505 """GetAuthorityName(SpatialReference self, char const * target_key) -> char const *"""
506 return _osr.SpatialReference_GetAuthorityName(self, *args)
507
508
510 """GetAreaOfUse(SpatialReference self) -> AreaOfUse"""
511 return _osr.SpatialReference_GetAreaOfUse(self, *args)
512
513
515 """GetAxisName(SpatialReference self, char const * target_key, int iAxis) -> char const *"""
516 return _osr.SpatialReference_GetAxisName(self, *args)
517
518
520 """GetAxesCount(SpatialReference self) -> int"""
521 return _osr.SpatialReference_GetAxesCount(self, *args)
522
523
525 """GetAxisOrientation(SpatialReference self, char const * target_key, int iAxis) -> OGRAxisOrientation"""
526 return _osr.SpatialReference_GetAxisOrientation(self, *args)
527
528
530 """GetAxisMappingStrategy(SpatialReference self) -> OSRAxisMappingStrategy"""
531 return _osr.SpatialReference_GetAxisMappingStrategy(self, *args)
532
533
535 """SetAxisMappingStrategy(SpatialReference self, OSRAxisMappingStrategy strategy)"""
536 return _osr.SpatialReference_SetAxisMappingStrategy(self, *args)
537
538
540 """GetDataAxisToSRSAxisMapping(SpatialReference self)"""
541 return _osr.SpatialReference_GetDataAxisToSRSAxisMapping(self, *args)
542
543
545 """SetDataAxisToSRSAxisMapping(SpatialReference self, int nList) -> OGRErr"""
546 return _osr.SpatialReference_SetDataAxisToSRSAxisMapping(self, *args)
547
548
550 """SetUTM(SpatialReference self, int zone, int north=1) -> OGRErr"""
551 return _osr.SpatialReference_SetUTM(self, *args)
552
553
555 """GetUTMZone(SpatialReference self) -> int"""
556 return _osr.SpatialReference_GetUTMZone(self, *args)
557
558
560 """SetStatePlane(SpatialReference self, int zone, int is_nad83=1, char const * unitsname, double units=0.0) -> OGRErr"""
561 return _osr.SpatialReference_SetStatePlane(self, *args)
562
563
565 """AutoIdentifyEPSG(SpatialReference self) -> OGRErr"""
566 return _osr.SpatialReference_AutoIdentifyEPSG(self, *args)
567
568
570 """FindMatches(SpatialReference self, char ** options=None)"""
571 return _osr.SpatialReference_FindMatches(self, *args)
572
573
575 """SetProjection(SpatialReference self, char const * arg) -> OGRErr"""
576 return _osr.SpatialReference_SetProjection(self, *args)
577
578
580 """SetProjParm(SpatialReference self, char const * name, double val) -> OGRErr"""
581 return _osr.SpatialReference_SetProjParm(self, *args)
582
583
585 """GetProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double"""
586 return _osr.SpatialReference_GetProjParm(self, *args)
587
588
590 """SetNormProjParm(SpatialReference self, char const * name, double val) -> OGRErr"""
591 return _osr.SpatialReference_SetNormProjParm(self, *args)
592
593
595 """GetNormProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double"""
596 return _osr.SpatialReference_GetNormProjParm(self, *args)
597
598
600 """GetSemiMajor(SpatialReference self) -> double"""
601 return _osr.SpatialReference_GetSemiMajor(self, *args)
602
603
605 """GetSemiMinor(SpatialReference self) -> double"""
606 return _osr.SpatialReference_GetSemiMinor(self, *args)
607
608
610 """GetInvFlattening(SpatialReference self) -> double"""
611 return _osr.SpatialReference_GetInvFlattening(self, *args)
612
613
614 - def SetACEA(self, *args, **kwargs):
615 """SetACEA(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
616 return _osr.SpatialReference_SetACEA(self, *args, **kwargs)
617
618
619 - def SetAE(self, *args, **kwargs):
620 """SetAE(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
621 return _osr.SpatialReference_SetAE(self, *args, **kwargs)
622
623
625 """SetBonne(SpatialReference self, double stdp, double cm, double fe, double fn) -> OGRErr"""
626 return _osr.SpatialReference_SetBonne(self, *args, **kwargs)
627
628
629 - def SetCEA(self, *args, **kwargs):
630 """SetCEA(SpatialReference self, double stdp1, double cm, double fe, double fn) -> OGRErr"""
631 return _osr.SpatialReference_SetCEA(self, *args, **kwargs)
632
633
634 - def SetCS(self, *args, **kwargs):
635 """SetCS(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
636 return _osr.SpatialReference_SetCS(self, *args, **kwargs)
637
638
639 - def SetEC(self, *args, **kwargs):
640 """SetEC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
641 return _osr.SpatialReference_SetEC(self, *args, **kwargs)
642
643
645 """SetEckertIV(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
646 return _osr.SpatialReference_SetEckertIV(self, *args, **kwargs)
647
648
650 """SetEckertVI(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
651 return _osr.SpatialReference_SetEckertVI(self, *args, **kwargs)
652
653
655 """SetEquirectangular(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
656 return _osr.SpatialReference_SetEquirectangular(self, *args, **kwargs)
657
658
660 """SetEquirectangular2(SpatialReference self, double clat, double clong, double pseudostdparallellat, double fe, double fn) -> OGRErr"""
661 return _osr.SpatialReference_SetEquirectangular2(self, *args, **kwargs)
662
663
665 """SetGaussSchreiberTMercator(SpatialReference self, double clat, double clong, double sc, double fe, double fn) -> OGRErr"""
666 return _osr.SpatialReference_SetGaussSchreiberTMercator(self, *args, **kwargs)
667
668
669 - def SetGS(self, *args, **kwargs):
670 """SetGS(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
671 return _osr.SpatialReference_SetGS(self, *args, **kwargs)
672
673
674 - def SetGH(self, *args, **kwargs):
675 """SetGH(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
676 return _osr.SpatialReference_SetGH(self, *args, **kwargs)
677
678
680 """SetIGH(SpatialReference self) -> OGRErr"""
681 return _osr.SpatialReference_SetIGH(self, *args)
682
683
684 - def SetGEOS(self, *args, **kwargs):
685 """SetGEOS(SpatialReference self, double cm, double satelliteheight, double fe, double fn) -> OGRErr"""
686 return _osr.SpatialReference_SetGEOS(self, *args, **kwargs)
687
688
690 """SetGnomonic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
691 return _osr.SpatialReference_SetGnomonic(self, *args, **kwargs)
692
693
694 - def SetHOM(self, *args, **kwargs):
695 """SetHOM(SpatialReference self, double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) -> OGRErr"""
696 return _osr.SpatialReference_SetHOM(self, *args, **kwargs)
697
698
700 """SetHOM2PNO(SpatialReference self, double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) -> OGRErr"""
701 return _osr.SpatialReference_SetHOM2PNO(self, *args, **kwargs)
702
703
705 """SetKrovak(SpatialReference self, double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) -> OGRErr"""
706 return _osr.SpatialReference_SetKrovak(self, *args, **kwargs)
707
708
709 - def SetLAEA(self, *args, **kwargs):
710 """SetLAEA(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
711 return _osr.SpatialReference_SetLAEA(self, *args, **kwargs)
712
713
714 - def SetLCC(self, *args, **kwargs):
715 """SetLCC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
716 return _osr.SpatialReference_SetLCC(self, *args, **kwargs)
717
718
720 """SetLCC1SP(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
721 return _osr.SpatialReference_SetLCC1SP(self, *args, **kwargs)
722
723
724 - def SetLCCB(self, *args, **kwargs):
725 """SetLCCB(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
726 return _osr.SpatialReference_SetLCCB(self, *args, **kwargs)
727
728
729 - def SetMC(self, *args, **kwargs):
730 """SetMC(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
731 return _osr.SpatialReference_SetMC(self, *args, **kwargs)
732
733
735 """SetMercator(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
736 return _osr.SpatialReference_SetMercator(self, *args, **kwargs)
737
738
740 """SetMercator2SP(SpatialReference self, double stdp1, double clat, double clong, double fe, double fn) -> OGRErr"""
741 return _osr.SpatialReference_SetMercator2SP(self, *args, **kwargs)
742
743
745 """SetMollweide(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
746 return _osr.SpatialReference_SetMollweide(self, *args, **kwargs)
747
748
749 - def SetNZMG(self, *args, **kwargs):
750 """SetNZMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
751 return _osr.SpatialReference_SetNZMG(self, *args, **kwargs)
752
753
754 - def SetOS(self, *args, **kwargs):
755 """SetOS(SpatialReference self, double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) -> OGRErr"""
756 return _osr.SpatialReference_SetOS(self, *args, **kwargs)
757
758
760 """SetOrthographic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
761 return _osr.SpatialReference_SetOrthographic(self, *args, **kwargs)
762
763
765 """SetPolyconic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
766 return _osr.SpatialReference_SetPolyconic(self, *args, **kwargs)
767
768
769 - def SetPS(self, *args, **kwargs):
770 """SetPS(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
771 return _osr.SpatialReference_SetPS(self, *args, **kwargs)
772
773
775 """SetRobinson(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
776 return _osr.SpatialReference_SetRobinson(self, *args, **kwargs)
777
778
780 """SetSinusoidal(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
781 return _osr.SpatialReference_SetSinusoidal(self, *args, **kwargs)
782
783
785 """SetStereographic(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
786 return _osr.SpatialReference_SetStereographic(self, *args, **kwargs)
787
788
789 - def SetSOC(self, *args, **kwargs):
790 """SetSOC(SpatialReference self, double latitudeoforigin, double cm, double fe, double fn) -> OGRErr"""
791 return _osr.SpatialReference_SetSOC(self, *args, **kwargs)
792
793
794 - def SetTM(self, *args, **kwargs):
795 """SetTM(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
796 return _osr.SpatialReference_SetTM(self, *args, **kwargs)
797
798
800 """SetTMVariant(SpatialReference self, char const * pszVariantName, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
801 return _osr.SpatialReference_SetTMVariant(self, *args, **kwargs)
802
803
804 - def SetTMG(self, *args, **kwargs):
805 """SetTMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
806 return _osr.SpatialReference_SetTMG(self, *args, **kwargs)
807
808
809 - def SetTMSO(self, *args, **kwargs):
810 """SetTMSO(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
811 return _osr.SpatialReference_SetTMSO(self, *args, **kwargs)
812
813
814 - def SetVDG(self, *args, **kwargs):
815 """SetVDG(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
816 return _osr.SpatialReference_SetVDG(self, *args, **kwargs)
817
818
820 """SetVerticalPerspective(SpatialReference self, double topoOriginLat, double topoOriginLon, double topoOriginHeight, double viewPointHeight, double fe, double fn) -> OGRErr"""
821 return _osr.SpatialReference_SetVerticalPerspective(self, *args, **kwargs)
822
823
825 """SetWellKnownGeogCS(SpatialReference self, char const * name) -> OGRErr"""
826 return _osr.SpatialReference_SetWellKnownGeogCS(self, *args)
827
828
832
833
835 """CopyGeogCSFrom(SpatialReference self, SpatialReference rhs) -> OGRErr"""
836 return _osr.SpatialReference_CopyGeogCSFrom(self, *args)
837
838
840 """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"""
841 return _osr.SpatialReference_SetTOWGS84(self, *args)
842
843
845 """HasTOWGS84(SpatialReference self) -> bool"""
846 return _osr.SpatialReference_HasTOWGS84(self, *args)
847
848
850 """GetTOWGS84(SpatialReference self) -> OGRErr"""
851 return _osr.SpatialReference_GetTOWGS84(self, *args)
852
853
855 """AddGuessedTOWGS84(SpatialReference self) -> OGRErr"""
856 return _osr.SpatialReference_AddGuessedTOWGS84(self, *args)
857
858
860 """SetLocalCS(SpatialReference self, char const * pszName) -> OGRErr"""
861 return _osr.SpatialReference_SetLocalCS(self, *args)
862
863
865 """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"""
866 return _osr.SpatialReference_SetGeogCS(self, *args)
867
868
870 """SetProjCS(SpatialReference self, char const * name) -> OGRErr"""
871 return _osr.SpatialReference_SetProjCS(self, *args)
872
873
875 """SetGeocCS(SpatialReference self, char const * name) -> OGRErr"""
876 return _osr.SpatialReference_SetGeocCS(self, *args)
877
878
880 """SetVertCS(SpatialReference self, char const * VertCSName, char const * VertDatumName, int VertDatumType=0) -> OGRErr"""
881 return _osr.SpatialReference_SetVertCS(self, *args)
882
883
885 """SetCompoundCS(SpatialReference self, char const * name, SpatialReference horizcs, SpatialReference vertcs) -> OGRErr"""
886 return _osr.SpatialReference_SetCompoundCS(self, *args)
887
888
890 """ImportFromWkt(SpatialReference self, char ** ppszInput) -> OGRErr"""
891 return _osr.SpatialReference_ImportFromWkt(self, *args)
892
893
895 """ImportFromProj4(SpatialReference self, char * ppszInput) -> OGRErr"""
896 return _osr.SpatialReference_ImportFromProj4(self, *args)
897
898
900 """ImportFromUrl(SpatialReference self, char * url) -> OGRErr"""
901 return _osr.SpatialReference_ImportFromUrl(self, *args)
902
903
905 """ImportFromESRI(SpatialReference self, char ** ppszInput) -> OGRErr"""
906 return _osr.SpatialReference_ImportFromESRI(self, *args)
907
908
910 """ImportFromEPSG(SpatialReference self, int arg) -> OGRErr"""
911 return _osr.SpatialReference_ImportFromEPSG(self, *args)
912
913
915 """ImportFromEPSGA(SpatialReference self, int arg) -> OGRErr"""
916 return _osr.SpatialReference_ImportFromEPSGA(self, *args)
917
918
920 """ImportFromPCI(SpatialReference self, char const * proj, char const * units, double [17] argin=0) -> OGRErr"""
921 return _osr.SpatialReference_ImportFromPCI(self, *args)
922
923
925 """ImportFromUSGS(SpatialReference self, long proj_code, long zone=0, double [15] argin=0, long datum_code=0) -> OGRErr"""
926 return _osr.SpatialReference_ImportFromUSGS(self, *args)
927
928
930 """ImportFromXML(SpatialReference self, char const * xmlString) -> OGRErr"""
931 return _osr.SpatialReference_ImportFromXML(self, *args)
932
933
935 """ImportFromERM(SpatialReference self, char const * proj, char const * datum, char const * units) -> OGRErr"""
936 return _osr.SpatialReference_ImportFromERM(self, *args)
937
938
940 """ImportFromMICoordSys(SpatialReference self, char const * pszCoordSys) -> OGRErr"""
941 return _osr.SpatialReference_ImportFromMICoordSys(self, *args)
942
943
945 """ImportFromOzi(SpatialReference self, char const *const * papszLines) -> OGRErr"""
946 return _osr.SpatialReference_ImportFromOzi(self, *args)
947
948
950 """ExportToWkt(SpatialReference self, char ** options=None) -> OGRErr"""
951 return _osr.SpatialReference_ExportToWkt(self, *args)
952
953
955 """ExportToPrettyWkt(SpatialReference self, int simplify=0) -> OGRErr"""
956 return _osr.SpatialReference_ExportToPrettyWkt(self, *args)
957
958
960 """ExportToPROJJSON(SpatialReference self, char ** options=None) -> OGRErr"""
961 return _osr.SpatialReference_ExportToPROJJSON(self, *args)
962
963
965 """ExportToProj4(SpatialReference self) -> OGRErr"""
966 return _osr.SpatialReference_ExportToProj4(self, *args)
967
968
970 """ExportToPCI(SpatialReference self) -> OGRErr"""
971 return _osr.SpatialReference_ExportToPCI(self, *args)
972
973
975 """ExportToUSGS(SpatialReference self) -> OGRErr"""
976 return _osr.SpatialReference_ExportToUSGS(self, *args)
977
978
980 """ExportToXML(SpatialReference self, char const * dialect) -> OGRErr"""
981 return _osr.SpatialReference_ExportToXML(self, *args)
982
983
985 """ExportToMICoordSys(SpatialReference self) -> OGRErr"""
986 return _osr.SpatialReference_ExportToMICoordSys(self, *args)
987
988
990 """CloneGeogCS(SpatialReference self) -> SpatialReference"""
991 return _osr.SpatialReference_CloneGeogCS(self, *args)
992
993
995 """Clone(SpatialReference self) -> SpatialReference"""
996 return _osr.SpatialReference_Clone(self, *args)
997
998
1000 """Validate(SpatialReference self) -> OGRErr"""
1001 return _osr.SpatialReference_Validate(self, *args)
1002
1003
1005 """MorphToESRI(SpatialReference self) -> OGRErr"""
1006 return _osr.SpatialReference_MorphToESRI(self, *args)
1007
1008
1010 """MorphFromESRI(SpatialReference self) -> OGRErr"""
1011 return _osr.SpatialReference_MorphFromESRI(self, *args)
1012
1013
1015 """ConvertToOtherProjection(SpatialReference self, char const * other_projection, char ** options=None) -> SpatialReference"""
1016 return _osr.SpatialReference_ConvertToOtherProjection(self, *args)
1017
1018
1022
1023
1025 """DemoteTo2D(SpatialReference self, char const * name=None) -> OGRErr"""
1026 return _osr.SpatialReference_DemoteTo2D(self, *args)
1027
1028
1029
1031 """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference"""
1032 oldval = _osr.GetUseExceptions()
1033 if not oldval:
1034 _osr.UseExceptions()
1035 try:
1036 this = _osr.new_SpatialReference(*args, **kwargs)
1037 finally:
1038 if not oldval:
1039 _osr.DontUseExceptions()
1040 try:
1041 self.this.append(this)
1042 except __builtin__.Exception:
1043 self.this = this
1044
1045
1046 SpatialReference_swigregister = _osr.SpatialReference_swigregister
1047 SpatialReference_swigregister(SpatialReference)
1048
1076
1077 CoordinateTransformationOptions_swigregister = _osr.CoordinateTransformationOptions_swigregister
1078 CoordinateTransformationOptions_swigregister(CoordinateTransformationOptions)
1079
1115
1116 CoordinateTransformation_swigregister = _osr.CoordinateTransformation_swigregister
1117 CoordinateTransformation_swigregister(CoordinateTransformation)
1118
1119
1123 OSR_CRS_TYPE_GEOGRAPHIC_2D = _osr.OSR_CRS_TYPE_GEOGRAPHIC_2D
1124 OSR_CRS_TYPE_GEOGRAPHIC_3D = _osr.OSR_CRS_TYPE_GEOGRAPHIC_3D
1125 OSR_CRS_TYPE_GEOCENTRIC = _osr.OSR_CRS_TYPE_GEOCENTRIC
1126 OSR_CRS_TYPE_PROJECTED = _osr.OSR_CRS_TYPE_PROJECTED
1127 OSR_CRS_TYPE_VERTICAL = _osr.OSR_CRS_TYPE_VERTICAL
1128 OSR_CRS_TYPE_COMPOUND = _osr.OSR_CRS_TYPE_COMPOUND
1129 OSR_CRS_TYPE_OTHER = _osr.OSR_CRS_TYPE_OTHER
1131 """Proxy of C++ OSRCRSInfo class."""
1132
1133 __swig_setmethods__ = {}
1134 __setattr__ = lambda self, name, value: _swig_setattr(self, CRSInfo, name, value)
1135 __swig_getmethods__ = {}
1136 __getattr__ = lambda self, name: _swig_getattr(self, CRSInfo, name)
1137 __repr__ = _swig_repr
1138 __swig_getmethods__["auth_name"] = _osr.CRSInfo_auth_name_get
1139 if _newclass:
1140 auth_name = _swig_property(_osr.CRSInfo_auth_name_get)
1141 __swig_getmethods__["code"] = _osr.CRSInfo_code_get
1142 if _newclass:
1143 code = _swig_property(_osr.CRSInfo_code_get)
1144 __swig_getmethods__["name"] = _osr.CRSInfo_name_get
1145 if _newclass:
1146 name = _swig_property(_osr.CRSInfo_name_get)
1147 __swig_getmethods__["type"] = _osr.CRSInfo_type_get
1148 if _newclass:
1149 type = _swig_property(_osr.CRSInfo_type_get)
1150 __swig_getmethods__["deprecated"] = _osr.CRSInfo_deprecated_get
1151 if _newclass:
1152 deprecated = _swig_property(_osr.CRSInfo_deprecated_get)
1153 __swig_getmethods__["bbox_valid"] = _osr.CRSInfo_bbox_valid_get
1154 if _newclass:
1155 bbox_valid = _swig_property(_osr.CRSInfo_bbox_valid_get)
1156 __swig_getmethods__["west_lon_degree"] = _osr.CRSInfo_west_lon_degree_get
1157 if _newclass:
1158 west_lon_degree = _swig_property(_osr.CRSInfo_west_lon_degree_get)
1159 __swig_getmethods__["south_lat_degree"] = _osr.CRSInfo_south_lat_degree_get
1160 if _newclass:
1161 south_lat_degree = _swig_property(_osr.CRSInfo_south_lat_degree_get)
1162 __swig_getmethods__["east_lon_degree"] = _osr.CRSInfo_east_lon_degree_get
1163 if _newclass:
1164 east_lon_degree = _swig_property(_osr.CRSInfo_east_lon_degree_get)
1165 __swig_getmethods__["north_lat_degree"] = _osr.CRSInfo_north_lat_degree_get
1166 if _newclass:
1167 north_lat_degree = _swig_property(_osr.CRSInfo_north_lat_degree_get)
1168 __swig_getmethods__["area_name"] = _osr.CRSInfo_area_name_get
1169 if _newclass:
1170 area_name = _swig_property(_osr.CRSInfo_area_name_get)
1171 __swig_getmethods__["projection_method"] = _osr.CRSInfo_projection_method_get
1172 if _newclass:
1173 projection_method = _swig_property(_osr.CRSInfo_projection_method_get)
1174
1176 """__init__(OSRCRSInfo self, char const * auth_name, char const * code, char const * name, OSRCRSType type, bool deprecated, bool bbox_valid, double west_lon_degree, double south_lat_degree, double east_lon_degree, double north_lat_degree, char const * area_name, char const * projection_method) -> CRSInfo"""
1177 this = _osr.new_CRSInfo(*args)
1178 try:
1179 self.this.append(this)
1180 except __builtin__.Exception:
1181 self.this = this
1182 __swig_destroy__ = _osr.delete_CRSInfo
1183 __del__ = lambda self: None
1184 CRSInfo_swigregister = _osr.CRSInfo_swigregister
1185 CRSInfo_swigregister(CRSInfo)
1186
1187
1191
1193 """OSRCRSInfo_code_get(CRSInfo crsInfo) -> char const *"""
1194 return _osr.OSRCRSInfo_code_get(*args)
1195
1197 """OSRCRSInfo_name_get(CRSInfo crsInfo) -> char const *"""
1198 return _osr.OSRCRSInfo_name_get(*args)
1199
1201 """OSRCRSInfo_type_get(CRSInfo crsInfo) -> OSRCRSType"""
1202 return _osr.OSRCRSInfo_type_get(*args)
1203
1207
1211
1215
1219
1223
1227
1231
1235
1239
1241 """SetPROJSearchPath(char const * utf8_path)"""
1242 return _osr.SetPROJSearchPath(*args)
1243
1247
1251
1255
1259
1263
1264