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 PROJ_ERR_INVALID_OP = _osr.PROJ_ERR_INVALID_OP
275 PROJ_ERR_INVALID_OP_WRONG_SYNTAX = _osr.PROJ_ERR_INVALID_OP_WRONG_SYNTAX
276 PROJ_ERR_INVALID_OP_MISSING_ARG = _osr.PROJ_ERR_INVALID_OP_MISSING_ARG
277 PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE = _osr.PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE
278 PROJ_ERR_INVALID_OP_MUTUALLY_EXCLUSIVE_ARGS = _osr.PROJ_ERR_INVALID_OP_MUTUALLY_EXCLUSIVE_ARGS
279 PROJ_ERR_INVALID_OP_FILE_NOT_FOUND_OR_INVALID = _osr.PROJ_ERR_INVALID_OP_FILE_NOT_FOUND_OR_INVALID
280 PROJ_ERR_COORD_TRANSFM = _osr.PROJ_ERR_COORD_TRANSFM
281 PROJ_ERR_COORD_TRANSFM_INVALID_COORD = _osr.PROJ_ERR_COORD_TRANSFM_INVALID_COORD
282 PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN = _osr.PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN
283 PROJ_ERR_COORD_TRANSFM_NO_OPERATION = _osr.PROJ_ERR_COORD_TRANSFM_NO_OPERATION
284 PROJ_ERR_COORD_TRANSFM_OUTSIDE_GRID = _osr.PROJ_ERR_COORD_TRANSFM_OUTSIDE_GRID
285 PROJ_ERR_COORD_TRANSFM_GRID_AT_NODATA = _osr.PROJ_ERR_COORD_TRANSFM_GRID_AT_NODATA
286 PROJ_ERR_OTHER = _osr.PROJ_ERR_OTHER
287 PROJ_ERR_OTHER_API_MISUSE = _osr.PROJ_ERR_OTHER_API_MISUSE
288 PROJ_ERR_OTHER_NO_INVERSE_OP = _osr.PROJ_ERR_OTHER_NO_INVERSE_OP
289 PROJ_ERR_OTHER_NETWORK_ERROR = _osr.PROJ_ERR_OTHER_NETWORK_ERROR
290
294
298
302
306
311 """Proxy of C++ OSRAreaOfUse class."""
312
313 __swig_setmethods__ = {}
314 __setattr__ = lambda self, name, value: _swig_setattr(self, AreaOfUse, name, value)
315 __swig_getmethods__ = {}
316 __getattr__ = lambda self, name: _swig_getattr(self, AreaOfUse, name)
317 __repr__ = _swig_repr
318 __swig_getmethods__["west_lon_degree"] = _osr.AreaOfUse_west_lon_degree_get
319 if _newclass:
320 west_lon_degree = _swig_property(_osr.AreaOfUse_west_lon_degree_get)
321 __swig_getmethods__["south_lat_degree"] = _osr.AreaOfUse_south_lat_degree_get
322 if _newclass:
323 south_lat_degree = _swig_property(_osr.AreaOfUse_south_lat_degree_get)
324 __swig_getmethods__["east_lon_degree"] = _osr.AreaOfUse_east_lon_degree_get
325 if _newclass:
326 east_lon_degree = _swig_property(_osr.AreaOfUse_east_lon_degree_get)
327 __swig_getmethods__["north_lat_degree"] = _osr.AreaOfUse_north_lat_degree_get
328 if _newclass:
329 north_lat_degree = _swig_property(_osr.AreaOfUse_north_lat_degree_get)
330 __swig_getmethods__["name"] = _osr.AreaOfUse_name_get
331 if _newclass:
332 name = _swig_property(_osr.AreaOfUse_name_get)
333
335 """__init__(OSRAreaOfUse self, double west_lon_degree, double south_lat_degree, double east_lon_degree, double north_lat_degree, char * name) -> AreaOfUse"""
336 this = _osr.new_AreaOfUse(*args)
337 try:
338 self.this.append(this)
339 except __builtin__.Exception:
340 self.this = this
341 __swig_destroy__ = _osr.delete_AreaOfUse
342 __del__ = lambda self: None
343 AreaOfUse_swigregister = _osr.AreaOfUse_swigregister
344 AreaOfUse_swigregister(AreaOfUse)
345
346
350
354
358
362
364 """OSRAreaOfUse_name_get(AreaOfUse area) -> char const *"""
365 return _osr.OSRAreaOfUse_name_get(*args)
367 """Proxy of C++ OSRSpatialReferenceShadow class."""
368
369 __swig_setmethods__ = {}
370 __setattr__ = lambda self, name, value: _swig_setattr(self, SpatialReference, name, value)
371 __swig_getmethods__ = {}
372 __getattr__ = lambda self, name: _swig_getattr(self, SpatialReference, name)
373 __repr__ = _swig_repr
374
376 """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference"""
377 this = _osr.new_SpatialReference(*args, **kwargs)
378 try:
379 self.this.append(this)
380 except __builtin__.Exception:
381 self.this = this
382 __swig_destroy__ = _osr.delete_SpatialReference
383 __del__ = lambda self: None
384
386 """__str__(SpatialReference self) -> retStringAndCPLFree *"""
387 return _osr.SpatialReference___str__(self, *args)
388
389
391 """GetName(SpatialReference self) -> char const *"""
392 return _osr.SpatialReference_GetName(self, *args)
393
394
395 - def IsSame(self, *args, **kwargs):
396 """IsSame(SpatialReference self, SpatialReference rhs, char ** options=None) -> int"""
397 return _osr.SpatialReference_IsSame(self, *args, **kwargs)
398
399
401 """IsSameGeogCS(SpatialReference self, SpatialReference rhs) -> int"""
402 return _osr.SpatialReference_IsSameGeogCS(self, *args)
403
404
406 """IsSameVertCS(SpatialReference self, SpatialReference rhs) -> int"""
407 return _osr.SpatialReference_IsSameVertCS(self, *args)
408
409
411 """IsGeographic(SpatialReference self) -> int"""
412 return _osr.SpatialReference_IsGeographic(self, *args)
413
414
416 """IsDerivedGeographic(SpatialReference self) -> int"""
417 return _osr.SpatialReference_IsDerivedGeographic(self, *args)
418
419
421 """IsProjected(SpatialReference self) -> int"""
422 return _osr.SpatialReference_IsProjected(self, *args)
423
424
426 """IsCompound(SpatialReference self) -> int"""
427 return _osr.SpatialReference_IsCompound(self, *args)
428
429
431 """IsGeocentric(SpatialReference self) -> int"""
432 return _osr.SpatialReference_IsGeocentric(self, *args)
433
434
436 """IsLocal(SpatialReference self) -> int"""
437 return _osr.SpatialReference_IsLocal(self, *args)
438
439
441 """IsVertical(SpatialReference self) -> int"""
442 return _osr.SpatialReference_IsVertical(self, *args)
443
444
446 """IsDynamic(SpatialReference self) -> bool"""
447 return _osr.SpatialReference_IsDynamic(self, *args)
448
449
451 """GetCoordinateEpoch(SpatialReference self) -> double"""
452 return _osr.SpatialReference_GetCoordinateEpoch(self, *args)
453
454
456 """SetCoordinateEpoch(SpatialReference self, double coordinateEpoch)"""
457 return _osr.SpatialReference_SetCoordinateEpoch(self, *args)
458
459
461 """EPSGTreatsAsLatLong(SpatialReference self) -> int"""
462 return _osr.SpatialReference_EPSGTreatsAsLatLong(self, *args)
463
464
466 """EPSGTreatsAsNorthingEasting(SpatialReference self) -> int"""
467 return _osr.SpatialReference_EPSGTreatsAsNorthingEasting(self, *args)
468
469
471 """SetAuthority(SpatialReference self, char const * pszTargetKey, char const * pszAuthority, int nCode) -> OGRErr"""
472 return _osr.SpatialReference_SetAuthority(self, *args)
473
474
476 """GetAttrValue(SpatialReference self, char const * name, int child=0) -> char const *"""
477 return _osr.SpatialReference_GetAttrValue(self, *args)
478
479
481 """SetAttrValue(SpatialReference self, char const * name, char const * value) -> OGRErr"""
482 return _osr.SpatialReference_SetAttrValue(self, *args)
483
484
486 """SetAngularUnits(SpatialReference self, char const * name, double to_radians) -> OGRErr"""
487 return _osr.SpatialReference_SetAngularUnits(self, *args)
488
489
491 """GetAngularUnits(SpatialReference self) -> double"""
492 return _osr.SpatialReference_GetAngularUnits(self, *args)
493
494
496 """GetAngularUnitsName(SpatialReference self) -> char const *"""
497 return _osr.SpatialReference_GetAngularUnitsName(self, *args)
498
499
501 """SetTargetLinearUnits(SpatialReference self, char const * target, char const * name, double to_meters) -> OGRErr"""
502 return _osr.SpatialReference_SetTargetLinearUnits(self, *args)
503
504
506 """SetLinearUnits(SpatialReference self, char const * name, double to_meters) -> OGRErr"""
507 return _osr.SpatialReference_SetLinearUnits(self, *args)
508
509
511 """SetLinearUnitsAndUpdateParameters(SpatialReference self, char const * name, double to_meters) -> OGRErr"""
512 return _osr.SpatialReference_SetLinearUnitsAndUpdateParameters(self, *args)
513
514
516 """GetTargetLinearUnits(SpatialReference self, char const * target_key) -> double"""
517 return _osr.SpatialReference_GetTargetLinearUnits(self, *args)
518
519
521 """GetLinearUnits(SpatialReference self) -> double"""
522 return _osr.SpatialReference_GetLinearUnits(self, *args)
523
524
526 """GetLinearUnitsName(SpatialReference self) -> char const *"""
527 return _osr.SpatialReference_GetLinearUnitsName(self, *args)
528
529
531 """GetAuthorityCode(SpatialReference self, char const * target_key) -> char const *"""
532 return _osr.SpatialReference_GetAuthorityCode(self, *args)
533
534
536 """GetAuthorityName(SpatialReference self, char const * target_key) -> char const *"""
537 return _osr.SpatialReference_GetAuthorityName(self, *args)
538
539
541 """GetAreaOfUse(SpatialReference self) -> AreaOfUse"""
542 return _osr.SpatialReference_GetAreaOfUse(self, *args)
543
544
546 """GetAxisName(SpatialReference self, char const * target_key, int iAxis) -> char const *"""
547 return _osr.SpatialReference_GetAxisName(self, *args)
548
549
551 """GetAxesCount(SpatialReference self) -> int"""
552 return _osr.SpatialReference_GetAxesCount(self, *args)
553
554
556 """GetAxisOrientation(SpatialReference self, char const * target_key, int iAxis) -> OGRAxisOrientation"""
557 return _osr.SpatialReference_GetAxisOrientation(self, *args)
558
559
561 """GetAxisMappingStrategy(SpatialReference self) -> OSRAxisMappingStrategy"""
562 return _osr.SpatialReference_GetAxisMappingStrategy(self, *args)
563
564
566 """SetAxisMappingStrategy(SpatialReference self, OSRAxisMappingStrategy strategy)"""
567 return _osr.SpatialReference_SetAxisMappingStrategy(self, *args)
568
569
571 """GetDataAxisToSRSAxisMapping(SpatialReference self)"""
572 return _osr.SpatialReference_GetDataAxisToSRSAxisMapping(self, *args)
573
574
576 """SetDataAxisToSRSAxisMapping(SpatialReference self, int nList) -> OGRErr"""
577 return _osr.SpatialReference_SetDataAxisToSRSAxisMapping(self, *args)
578
579
581 """SetUTM(SpatialReference self, int zone, int north=1) -> OGRErr"""
582 return _osr.SpatialReference_SetUTM(self, *args)
583
584
586 """GetUTMZone(SpatialReference self) -> int"""
587 return _osr.SpatialReference_GetUTMZone(self, *args)
588
589
591 """SetStatePlane(SpatialReference self, int zone, int is_nad83=1, char const * unitsname, double units=0.0) -> OGRErr"""
592 return _osr.SpatialReference_SetStatePlane(self, *args)
593
594
596 """AutoIdentifyEPSG(SpatialReference self) -> OGRErr"""
597 return _osr.SpatialReference_AutoIdentifyEPSG(self, *args)
598
599
601 """FindMatches(SpatialReference self, char ** options=None)"""
602 return _osr.SpatialReference_FindMatches(self, *args)
603
604
606 """SetProjection(SpatialReference self, char const * arg) -> OGRErr"""
607 return _osr.SpatialReference_SetProjection(self, *args)
608
609
611 """SetProjParm(SpatialReference self, char const * name, double val) -> OGRErr"""
612 return _osr.SpatialReference_SetProjParm(self, *args)
613
614
616 """GetProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double"""
617 return _osr.SpatialReference_GetProjParm(self, *args)
618
619
621 """SetNormProjParm(SpatialReference self, char const * name, double val) -> OGRErr"""
622 return _osr.SpatialReference_SetNormProjParm(self, *args)
623
624
626 """GetNormProjParm(SpatialReference self, char const * name, double default_val=0.0) -> double"""
627 return _osr.SpatialReference_GetNormProjParm(self, *args)
628
629
631 """GetSemiMajor(SpatialReference self) -> double"""
632 return _osr.SpatialReference_GetSemiMajor(self, *args)
633
634
636 """GetSemiMinor(SpatialReference self) -> double"""
637 return _osr.SpatialReference_GetSemiMinor(self, *args)
638
639
641 """GetInvFlattening(SpatialReference self) -> double"""
642 return _osr.SpatialReference_GetInvFlattening(self, *args)
643
644
645 - def SetACEA(self, *args, **kwargs):
646 """SetACEA(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
647 return _osr.SpatialReference_SetACEA(self, *args, **kwargs)
648
649
650 - def SetAE(self, *args, **kwargs):
651 """SetAE(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
652 return _osr.SpatialReference_SetAE(self, *args, **kwargs)
653
654
656 """SetBonne(SpatialReference self, double stdp, double cm, double fe, double fn) -> OGRErr"""
657 return _osr.SpatialReference_SetBonne(self, *args, **kwargs)
658
659
660 - def SetCEA(self, *args, **kwargs):
661 """SetCEA(SpatialReference self, double stdp1, double cm, double fe, double fn) -> OGRErr"""
662 return _osr.SpatialReference_SetCEA(self, *args, **kwargs)
663
664
665 - def SetCS(self, *args, **kwargs):
666 """SetCS(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
667 return _osr.SpatialReference_SetCS(self, *args, **kwargs)
668
669
670 - def SetEC(self, *args, **kwargs):
671 """SetEC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
672 return _osr.SpatialReference_SetEC(self, *args, **kwargs)
673
674
676 """SetEckertIV(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
677 return _osr.SpatialReference_SetEckertIV(self, *args, **kwargs)
678
679
681 """SetEckertVI(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
682 return _osr.SpatialReference_SetEckertVI(self, *args, **kwargs)
683
684
686 """SetEquirectangular(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
687 return _osr.SpatialReference_SetEquirectangular(self, *args, **kwargs)
688
689
691 """SetEquirectangular2(SpatialReference self, double clat, double clong, double pseudostdparallellat, double fe, double fn) -> OGRErr"""
692 return _osr.SpatialReference_SetEquirectangular2(self, *args, **kwargs)
693
694
696 """SetGaussSchreiberTMercator(SpatialReference self, double clat, double clong, double sc, double fe, double fn) -> OGRErr"""
697 return _osr.SpatialReference_SetGaussSchreiberTMercator(self, *args, **kwargs)
698
699
700 - def SetGS(self, *args, **kwargs):
701 """SetGS(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
702 return _osr.SpatialReference_SetGS(self, *args, **kwargs)
703
704
705 - def SetGH(self, *args, **kwargs):
706 """SetGH(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
707 return _osr.SpatialReference_SetGH(self, *args, **kwargs)
708
709
711 """SetIGH(SpatialReference self) -> OGRErr"""
712 return _osr.SpatialReference_SetIGH(self, *args)
713
714
715 - def SetGEOS(self, *args, **kwargs):
716 """SetGEOS(SpatialReference self, double cm, double satelliteheight, double fe, double fn) -> OGRErr"""
717 return _osr.SpatialReference_SetGEOS(self, *args, **kwargs)
718
719
721 """SetGnomonic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
722 return _osr.SpatialReference_SetGnomonic(self, *args, **kwargs)
723
724
725 - def SetHOM(self, *args, **kwargs):
726 """SetHOM(SpatialReference self, double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) -> OGRErr"""
727 return _osr.SpatialReference_SetHOM(self, *args, **kwargs)
728
729
731 """SetHOM2PNO(SpatialReference self, double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) -> OGRErr"""
732 return _osr.SpatialReference_SetHOM2PNO(self, *args, **kwargs)
733
734
736 """SetKrovak(SpatialReference self, double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) -> OGRErr"""
737 return _osr.SpatialReference_SetKrovak(self, *args, **kwargs)
738
739
740 - def SetLAEA(self, *args, **kwargs):
741 """SetLAEA(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
742 return _osr.SpatialReference_SetLAEA(self, *args, **kwargs)
743
744
745 - def SetLCC(self, *args, **kwargs):
746 """SetLCC(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
747 return _osr.SpatialReference_SetLCC(self, *args, **kwargs)
748
749
751 """SetLCC1SP(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
752 return _osr.SpatialReference_SetLCC1SP(self, *args, **kwargs)
753
754
755 - def SetLCCB(self, *args, **kwargs):
756 """SetLCCB(SpatialReference self, double stdp1, double stdp2, double clat, double clong, double fe, double fn) -> OGRErr"""
757 return _osr.SpatialReference_SetLCCB(self, *args, **kwargs)
758
759
760 - def SetMC(self, *args, **kwargs):
761 """SetMC(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
762 return _osr.SpatialReference_SetMC(self, *args, **kwargs)
763
764
766 """SetMercator(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
767 return _osr.SpatialReference_SetMercator(self, *args, **kwargs)
768
769
771 """SetMercator2SP(SpatialReference self, double stdp1, double clat, double clong, double fe, double fn) -> OGRErr"""
772 return _osr.SpatialReference_SetMercator2SP(self, *args, **kwargs)
773
774
776 """SetMollweide(SpatialReference self, double cm, double fe, double fn) -> OGRErr"""
777 return _osr.SpatialReference_SetMollweide(self, *args, **kwargs)
778
779
780 - def SetNZMG(self, *args, **kwargs):
781 """SetNZMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
782 return _osr.SpatialReference_SetNZMG(self, *args, **kwargs)
783
784
785 - def SetOS(self, *args, **kwargs):
786 """SetOS(SpatialReference self, double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) -> OGRErr"""
787 return _osr.SpatialReference_SetOS(self, *args, **kwargs)
788
789
791 """SetOrthographic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
792 return _osr.SpatialReference_SetOrthographic(self, *args, **kwargs)
793
794
796 """SetPolyconic(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
797 return _osr.SpatialReference_SetPolyconic(self, *args, **kwargs)
798
799
800 - def SetPS(self, *args, **kwargs):
801 """SetPS(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
802 return _osr.SpatialReference_SetPS(self, *args, **kwargs)
803
804
806 """SetRobinson(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
807 return _osr.SpatialReference_SetRobinson(self, *args, **kwargs)
808
809
811 """SetSinusoidal(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
812 return _osr.SpatialReference_SetSinusoidal(self, *args, **kwargs)
813
814
816 """SetStereographic(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
817 return _osr.SpatialReference_SetStereographic(self, *args, **kwargs)
818
819
820 - def SetSOC(self, *args, **kwargs):
821 """SetSOC(SpatialReference self, double latitudeoforigin, double cm, double fe, double fn) -> OGRErr"""
822 return _osr.SpatialReference_SetSOC(self, *args, **kwargs)
823
824
825 - def SetTM(self, *args, **kwargs):
826 """SetTM(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
827 return _osr.SpatialReference_SetTM(self, *args, **kwargs)
828
829
831 """SetTMVariant(SpatialReference self, char const * pszVariantName, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
832 return _osr.SpatialReference_SetTMVariant(self, *args, **kwargs)
833
834
835 - def SetTMG(self, *args, **kwargs):
836 """SetTMG(SpatialReference self, double clat, double clong, double fe, double fn) -> OGRErr"""
837 return _osr.SpatialReference_SetTMG(self, *args, **kwargs)
838
839
840 - def SetTMSO(self, *args, **kwargs):
841 """SetTMSO(SpatialReference self, double clat, double clong, double scale, double fe, double fn) -> OGRErr"""
842 return _osr.SpatialReference_SetTMSO(self, *args, **kwargs)
843
844
845 - def SetVDG(self, *args, **kwargs):
846 """SetVDG(SpatialReference self, double clong, double fe, double fn) -> OGRErr"""
847 return _osr.SpatialReference_SetVDG(self, *args, **kwargs)
848
849
851 """SetVerticalPerspective(SpatialReference self, double topoOriginLat, double topoOriginLon, double topoOriginHeight, double viewPointHeight, double fe, double fn) -> OGRErr"""
852 return _osr.SpatialReference_SetVerticalPerspective(self, *args, **kwargs)
853
854
856 """SetWellKnownGeogCS(SpatialReference self, char const * name) -> OGRErr"""
857 return _osr.SpatialReference_SetWellKnownGeogCS(self, *args)
858
859
863
864
866 """CopyGeogCSFrom(SpatialReference self, SpatialReference rhs) -> OGRErr"""
867 return _osr.SpatialReference_CopyGeogCSFrom(self, *args)
868
869
871 """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"""
872 return _osr.SpatialReference_SetTOWGS84(self, *args)
873
874
876 """HasTOWGS84(SpatialReference self) -> bool"""
877 return _osr.SpatialReference_HasTOWGS84(self, *args)
878
879
881 """GetTOWGS84(SpatialReference self) -> OGRErr"""
882 return _osr.SpatialReference_GetTOWGS84(self, *args)
883
884
886 """AddGuessedTOWGS84(SpatialReference self) -> OGRErr"""
887 return _osr.SpatialReference_AddGuessedTOWGS84(self, *args)
888
889
891 """SetLocalCS(SpatialReference self, char const * pszName) -> OGRErr"""
892 return _osr.SpatialReference_SetLocalCS(self, *args)
893
894
896 """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"""
897 return _osr.SpatialReference_SetGeogCS(self, *args)
898
899
901 """SetProjCS(SpatialReference self, char const * name) -> OGRErr"""
902 return _osr.SpatialReference_SetProjCS(self, *args)
903
904
906 """SetGeocCS(SpatialReference self, char const * name) -> OGRErr"""
907 return _osr.SpatialReference_SetGeocCS(self, *args)
908
909
911 """SetVertCS(SpatialReference self, char const * VertCSName, char const * VertDatumName, int VertDatumType=0) -> OGRErr"""
912 return _osr.SpatialReference_SetVertCS(self, *args)
913
914
916 """SetCompoundCS(SpatialReference self, char const * name, SpatialReference horizcs, SpatialReference vertcs) -> OGRErr"""
917 return _osr.SpatialReference_SetCompoundCS(self, *args)
918
919
921 """ImportFromWkt(SpatialReference self, char ** ppszInput) -> OGRErr"""
922 return _osr.SpatialReference_ImportFromWkt(self, *args)
923
924
926 """ImportFromProj4(SpatialReference self, char * ppszInput) -> OGRErr"""
927 return _osr.SpatialReference_ImportFromProj4(self, *args)
928
929
931 """ImportFromUrl(SpatialReference self, char * url) -> OGRErr"""
932 return _osr.SpatialReference_ImportFromUrl(self, *args)
933
934
936 """ImportFromESRI(SpatialReference self, char ** ppszInput) -> OGRErr"""
937 return _osr.SpatialReference_ImportFromESRI(self, *args)
938
939
941 """ImportFromEPSG(SpatialReference self, int arg) -> OGRErr"""
942 return _osr.SpatialReference_ImportFromEPSG(self, *args)
943
944
946 """ImportFromEPSGA(SpatialReference self, int arg) -> OGRErr"""
947 return _osr.SpatialReference_ImportFromEPSGA(self, *args)
948
949
951 """ImportFromPCI(SpatialReference self, char const * proj, char const * units, double [17] argin=0) -> OGRErr"""
952 return _osr.SpatialReference_ImportFromPCI(self, *args)
953
954
956 """ImportFromUSGS(SpatialReference self, long proj_code, long zone=0, double [15] argin=0, long datum_code=0) -> OGRErr"""
957 return _osr.SpatialReference_ImportFromUSGS(self, *args)
958
959
961 """ImportFromXML(SpatialReference self, char const * xmlString) -> OGRErr"""
962 return _osr.SpatialReference_ImportFromXML(self, *args)
963
964
966 """ImportFromERM(SpatialReference self, char const * proj, char const * datum, char const * units) -> OGRErr"""
967 return _osr.SpatialReference_ImportFromERM(self, *args)
968
969
971 """ImportFromMICoordSys(SpatialReference self, char const * pszCoordSys) -> OGRErr"""
972 return _osr.SpatialReference_ImportFromMICoordSys(self, *args)
973
974
976 """ImportFromOzi(SpatialReference self, char const *const * papszLines) -> OGRErr"""
977 return _osr.SpatialReference_ImportFromOzi(self, *args)
978
979
981 """ExportToWkt(SpatialReference self, char ** options=None) -> OGRErr"""
982 return _osr.SpatialReference_ExportToWkt(self, *args)
983
984
986 """ExportToPrettyWkt(SpatialReference self, int simplify=0) -> OGRErr"""
987 return _osr.SpatialReference_ExportToPrettyWkt(self, *args)
988
989
991 """ExportToPROJJSON(SpatialReference self, char ** options=None) -> OGRErr"""
992 return _osr.SpatialReference_ExportToPROJJSON(self, *args)
993
994
996 """ExportToProj4(SpatialReference self) -> OGRErr"""
997 return _osr.SpatialReference_ExportToProj4(self, *args)
998
999
1001 """ExportToPCI(SpatialReference self) -> OGRErr"""
1002 return _osr.SpatialReference_ExportToPCI(self, *args)
1003
1004
1006 """ExportToUSGS(SpatialReference self) -> OGRErr"""
1007 return _osr.SpatialReference_ExportToUSGS(self, *args)
1008
1009
1011 """ExportToXML(SpatialReference self, char const * dialect) -> OGRErr"""
1012 return _osr.SpatialReference_ExportToXML(self, *args)
1013
1014
1016 """ExportToMICoordSys(SpatialReference self) -> OGRErr"""
1017 return _osr.SpatialReference_ExportToMICoordSys(self, *args)
1018
1019
1021 """CloneGeogCS(SpatialReference self) -> SpatialReference"""
1022 return _osr.SpatialReference_CloneGeogCS(self, *args)
1023
1024
1025 - def Clone(self, *args):
1026 """Clone(SpatialReference self) -> SpatialReference"""
1027 return _osr.SpatialReference_Clone(self, *args)
1028
1029
1031 """Validate(SpatialReference self) -> OGRErr"""
1032 return _osr.SpatialReference_Validate(self, *args)
1033
1034
1036 """MorphToESRI(SpatialReference self) -> OGRErr"""
1037 return _osr.SpatialReference_MorphToESRI(self, *args)
1038
1039
1041 """MorphFromESRI(SpatialReference self) -> OGRErr"""
1042 return _osr.SpatialReference_MorphFromESRI(self, *args)
1043
1044
1046 """ConvertToOtherProjection(SpatialReference self, char const * other_projection, char ** options=None) -> SpatialReference"""
1047 return _osr.SpatialReference_ConvertToOtherProjection(self, *args)
1048
1049
1053
1054
1056 """DemoteTo2D(SpatialReference self, char const * name=None) -> OGRErr"""
1057 return _osr.SpatialReference_DemoteTo2D(self, *args)
1058
1059
1060
1062 """__init__(OSRSpatialReferenceShadow self, char const * wkt) -> SpatialReference"""
1063 oldval = _osr.GetUseExceptions()
1064 if not oldval:
1065 _osr.UseExceptions()
1066 try:
1067 this = _osr.new_SpatialReference(*args, **kwargs)
1068 finally:
1069 if not oldval:
1070 _osr.DontUseExceptions()
1071 try:
1072 self.this.append(this)
1073 except __builtin__.Exception:
1074 self.this = this
1075
1076
1077 SpatialReference_swigregister = _osr.SpatialReference_swigregister
1078 SpatialReference_swigregister(SpatialReference)
1079
1117
1118 CoordinateTransformationOptions_swigregister = _osr.CoordinateTransformationOptions_swigregister
1119 CoordinateTransformationOptions_swigregister(CoordinateTransformationOptions)
1120
1166
1167 CoordinateTransformation_swigregister = _osr.CoordinateTransformation_swigregister
1168 CoordinateTransformation_swigregister(CoordinateTransformation)
1169
1170
1174 OSR_CRS_TYPE_GEOGRAPHIC_2D = _osr.OSR_CRS_TYPE_GEOGRAPHIC_2D
1175 OSR_CRS_TYPE_GEOGRAPHIC_3D = _osr.OSR_CRS_TYPE_GEOGRAPHIC_3D
1176 OSR_CRS_TYPE_GEOCENTRIC = _osr.OSR_CRS_TYPE_GEOCENTRIC
1177 OSR_CRS_TYPE_PROJECTED = _osr.OSR_CRS_TYPE_PROJECTED
1178 OSR_CRS_TYPE_VERTICAL = _osr.OSR_CRS_TYPE_VERTICAL
1179 OSR_CRS_TYPE_COMPOUND = _osr.OSR_CRS_TYPE_COMPOUND
1180 OSR_CRS_TYPE_OTHER = _osr.OSR_CRS_TYPE_OTHER
1182 """Proxy of C++ OSRCRSInfo class."""
1183
1184 __swig_setmethods__ = {}
1185 __setattr__ = lambda self, name, value: _swig_setattr(self, CRSInfo, name, value)
1186 __swig_getmethods__ = {}
1187 __getattr__ = lambda self, name: _swig_getattr(self, CRSInfo, name)
1188 __repr__ = _swig_repr
1189 __swig_getmethods__["auth_name"] = _osr.CRSInfo_auth_name_get
1190 if _newclass:
1191 auth_name = _swig_property(_osr.CRSInfo_auth_name_get)
1192 __swig_getmethods__["code"] = _osr.CRSInfo_code_get
1193 if _newclass:
1194 code = _swig_property(_osr.CRSInfo_code_get)
1195 __swig_getmethods__["name"] = _osr.CRSInfo_name_get
1196 if _newclass:
1197 name = _swig_property(_osr.CRSInfo_name_get)
1198 __swig_getmethods__["type"] = _osr.CRSInfo_type_get
1199 if _newclass:
1200 type = _swig_property(_osr.CRSInfo_type_get)
1201 __swig_getmethods__["deprecated"] = _osr.CRSInfo_deprecated_get
1202 if _newclass:
1203 deprecated = _swig_property(_osr.CRSInfo_deprecated_get)
1204 __swig_getmethods__["bbox_valid"] = _osr.CRSInfo_bbox_valid_get
1205 if _newclass:
1206 bbox_valid = _swig_property(_osr.CRSInfo_bbox_valid_get)
1207 __swig_getmethods__["west_lon_degree"] = _osr.CRSInfo_west_lon_degree_get
1208 if _newclass:
1209 west_lon_degree = _swig_property(_osr.CRSInfo_west_lon_degree_get)
1210 __swig_getmethods__["south_lat_degree"] = _osr.CRSInfo_south_lat_degree_get
1211 if _newclass:
1212 south_lat_degree = _swig_property(_osr.CRSInfo_south_lat_degree_get)
1213 __swig_getmethods__["east_lon_degree"] = _osr.CRSInfo_east_lon_degree_get
1214 if _newclass:
1215 east_lon_degree = _swig_property(_osr.CRSInfo_east_lon_degree_get)
1216 __swig_getmethods__["north_lat_degree"] = _osr.CRSInfo_north_lat_degree_get
1217 if _newclass:
1218 north_lat_degree = _swig_property(_osr.CRSInfo_north_lat_degree_get)
1219 __swig_getmethods__["area_name"] = _osr.CRSInfo_area_name_get
1220 if _newclass:
1221 area_name = _swig_property(_osr.CRSInfo_area_name_get)
1222 __swig_getmethods__["projection_method"] = _osr.CRSInfo_projection_method_get
1223 if _newclass:
1224 projection_method = _swig_property(_osr.CRSInfo_projection_method_get)
1225
1227 """__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"""
1228 this = _osr.new_CRSInfo(*args)
1229 try:
1230 self.this.append(this)
1231 except __builtin__.Exception:
1232 self.this = this
1233 __swig_destroy__ = _osr.delete_CRSInfo
1234 __del__ = lambda self: None
1235 CRSInfo_swigregister = _osr.CRSInfo_swigregister
1236 CRSInfo_swigregister(CRSInfo)
1237
1238
1242
1244 """OSRCRSInfo_code_get(CRSInfo crsInfo) -> char const *"""
1245 return _osr.OSRCRSInfo_code_get(*args)
1246
1248 """OSRCRSInfo_name_get(CRSInfo crsInfo) -> char const *"""
1249 return _osr.OSRCRSInfo_name_get(*args)
1250
1252 """OSRCRSInfo_type_get(CRSInfo crsInfo) -> OSRCRSType"""
1253 return _osr.OSRCRSInfo_type_get(*args)
1254
1258
1262
1266
1270
1274
1278
1282
1286
1290
1292 """SetPROJSearchPath(char const * utf8_path)"""
1293 return _osr.SetPROJSearchPath(*args)
1294
1298
1302
1306
1310
1314
1318
1322
1324 """SetPROJAuxDbPath(char const * utf8_path)"""
1325 return _osr.SetPROJAuxDbPath(*args)
1326
1328 """SetPROJAuxDbPaths(char ** paths)"""
1329 return _osr.SetPROJAuxDbPaths(*args)
1330
1334
1335