Package osgeo :: Module gdalconst
[hide private]
[frames] | no frames]

Source Code for Module osgeo.gdalconst

  1  # This file was automatically generated by SWIG (http://www.swig.org). 
  2  # Version 3.0.12 
  3  # 
  4  # Do not make changes to this file unless you know what you are doing--modify 
  5  # the SWIG interface file instead. 
  6   
  7  from sys import version_info as _swig_python_version_info 
  8  if _swig_python_version_info >= (2, 7, 0): 
9 - def swig_import_helper():
10 import importlib 11 pkg = __name__.rpartition('.')[0] 12 mname = '.'.join((pkg, '_gdalconst')).lstrip('.') 13 try: 14 return importlib.import_module(mname) 15 except ImportError: 16 return importlib.import_module('_gdalconst')
17 _gdalconst = swig_import_helper() 18 del swig_import_helper 19 elif _swig_python_version_info >= (2, 6, 0):
20 - def swig_import_helper():
21 from os.path import dirname 22 import imp 23 fp = None 24 try: 25 fp, pathname, description = imp.find_module('_gdalconst', [dirname(__file__)]) 26 except ImportError: 27 import _gdalconst 28 return _gdalconst 29 try: 30 _mod = imp.load_module('_gdalconst', fp, pathname, description) 31 finally: 32 if fp is not None: 33 fp.close() 34 return _mod
35 _gdalconst = swig_import_helper() 36 del swig_import_helper 37 else: 38 import _gdalconst 39 del _swig_python_version_info 40 41 try: 42 _swig_property = property 43 except NameError: 44 pass # Python < 2.2 doesn't have 'property'. 45 46 try: 47 import builtins as __builtin__ 48 except ImportError: 49 import __builtin__ 50
51 -def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
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
70 -def _swig_setattr(self, class_type, name, value):
71 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
72 73
74 -def _swig_getattr(self, class_type, name):
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
83 -def _swig_repr(self):
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:
94 - class _object:
95 pass
96 _newclass = 0 97 98 GDT_Unknown = _gdalconst.GDT_Unknown 99 GDT_Byte = _gdalconst.GDT_Byte 100 GDT_UInt16 = _gdalconst.GDT_UInt16 101 GDT_Int16 = _gdalconst.GDT_Int16 102 GDT_UInt32 = _gdalconst.GDT_UInt32 103 GDT_Int32 = _gdalconst.GDT_Int32 104 GDT_Float32 = _gdalconst.GDT_Float32 105 GDT_Float64 = _gdalconst.GDT_Float64 106 GDT_CInt16 = _gdalconst.GDT_CInt16 107 GDT_CInt32 = _gdalconst.GDT_CInt32 108 GDT_CFloat32 = _gdalconst.GDT_CFloat32 109 GDT_CFloat64 = _gdalconst.GDT_CFloat64 110 GDT_TypeCount = _gdalconst.GDT_TypeCount 111 GA_ReadOnly = _gdalconst.GA_ReadOnly 112 GA_Update = _gdalconst.GA_Update 113 GF_Read = _gdalconst.GF_Read 114 GF_Write = _gdalconst.GF_Write 115 GRIORA_NearestNeighbour = _gdalconst.GRIORA_NearestNeighbour 116 GRIORA_Bilinear = _gdalconst.GRIORA_Bilinear 117 GRIORA_Cubic = _gdalconst.GRIORA_Cubic 118 GRIORA_CubicSpline = _gdalconst.GRIORA_CubicSpline 119 GRIORA_Lanczos = _gdalconst.GRIORA_Lanczos 120 GRIORA_Average = _gdalconst.GRIORA_Average 121 GRIORA_RMS = _gdalconst.GRIORA_RMS 122 GRIORA_Mode = _gdalconst.GRIORA_Mode 123 GRIORA_Gauss = _gdalconst.GRIORA_Gauss 124 GCI_Undefined = _gdalconst.GCI_Undefined 125 GCI_GrayIndex = _gdalconst.GCI_GrayIndex 126 GCI_PaletteIndex = _gdalconst.GCI_PaletteIndex 127 GCI_RedBand = _gdalconst.GCI_RedBand 128 GCI_GreenBand = _gdalconst.GCI_GreenBand 129 GCI_BlueBand = _gdalconst.GCI_BlueBand 130 GCI_AlphaBand = _gdalconst.GCI_AlphaBand 131 GCI_HueBand = _gdalconst.GCI_HueBand 132 GCI_SaturationBand = _gdalconst.GCI_SaturationBand 133 GCI_LightnessBand = _gdalconst.GCI_LightnessBand 134 GCI_CyanBand = _gdalconst.GCI_CyanBand 135 GCI_MagentaBand = _gdalconst.GCI_MagentaBand 136 GCI_YellowBand = _gdalconst.GCI_YellowBand 137 GCI_BlackBand = _gdalconst.GCI_BlackBand 138 GCI_YCbCr_YBand = _gdalconst.GCI_YCbCr_YBand 139 GCI_YCbCr_CrBand = _gdalconst.GCI_YCbCr_CrBand 140 GCI_YCbCr_CbBand = _gdalconst.GCI_YCbCr_CbBand 141 GRA_NearestNeighbour = _gdalconst.GRA_NearestNeighbour 142 GRA_Bilinear = _gdalconst.GRA_Bilinear 143 GRA_Cubic = _gdalconst.GRA_Cubic 144 GRA_CubicSpline = _gdalconst.GRA_CubicSpline 145 GRA_Lanczos = _gdalconst.GRA_Lanczos 146 GRA_Average = _gdalconst.GRA_Average 147 GRA_RMS = _gdalconst.GRA_RMS 148 GRA_Mode = _gdalconst.GRA_Mode 149 GRA_Max = _gdalconst.GRA_Max 150 GRA_Min = _gdalconst.GRA_Min 151 GRA_Med = _gdalconst.GRA_Med 152 GRA_Q1 = _gdalconst.GRA_Q1 153 GRA_Q3 = _gdalconst.GRA_Q3 154 GRA_Sum = _gdalconst.GRA_Sum 155 GPI_Gray = _gdalconst.GPI_Gray 156 GPI_RGB = _gdalconst.GPI_RGB 157 GPI_CMYK = _gdalconst.GPI_CMYK 158 GPI_HLS = _gdalconst.GPI_HLS 159 CXT_Element = _gdalconst.CXT_Element 160 CXT_Text = _gdalconst.CXT_Text 161 CXT_Attribute = _gdalconst.CXT_Attribute 162 CXT_Comment = _gdalconst.CXT_Comment 163 CXT_Literal = _gdalconst.CXT_Literal 164 CE_None = _gdalconst.CE_None 165 CE_Debug = _gdalconst.CE_Debug 166 CE_Warning = _gdalconst.CE_Warning 167 CE_Failure = _gdalconst.CE_Failure 168 CE_Fatal = _gdalconst.CE_Fatal 169 CPLE_None = _gdalconst.CPLE_None 170 CPLE_AppDefined = _gdalconst.CPLE_AppDefined 171 CPLE_OutOfMemory = _gdalconst.CPLE_OutOfMemory 172 CPLE_FileIO = _gdalconst.CPLE_FileIO 173 CPLE_OpenFailed = _gdalconst.CPLE_OpenFailed 174 CPLE_IllegalArg = _gdalconst.CPLE_IllegalArg 175 CPLE_NotSupported = _gdalconst.CPLE_NotSupported 176 CPLE_AssertionFailed = _gdalconst.CPLE_AssertionFailed 177 CPLE_NoWriteAccess = _gdalconst.CPLE_NoWriteAccess 178 CPLE_UserInterrupt = _gdalconst.CPLE_UserInterrupt 179 CPLE_ObjectNull = _gdalconst.CPLE_ObjectNull 180 CPLE_HttpResponse = _gdalconst.CPLE_HttpResponse 181 CPLE_AWSBucketNotFound = _gdalconst.CPLE_AWSBucketNotFound 182 CPLE_AWSObjectNotFound = _gdalconst.CPLE_AWSObjectNotFound 183 CPLE_AWSAccessDenied = _gdalconst.CPLE_AWSAccessDenied 184 CPLE_AWSInvalidCredentials = _gdalconst.CPLE_AWSInvalidCredentials 185 CPLE_AWSSignatureDoesNotMatch = _gdalconst.CPLE_AWSSignatureDoesNotMatch 186 OF_ALL = _gdalconst.OF_ALL 187 OF_RASTER = _gdalconst.OF_RASTER 188 OF_VECTOR = _gdalconst.OF_VECTOR 189 OF_GNM = _gdalconst.OF_GNM 190 OF_MULTIDIM_RASTER = _gdalconst.OF_MULTIDIM_RASTER 191 OF_READONLY = _gdalconst.OF_READONLY 192 OF_UPDATE = _gdalconst.OF_UPDATE 193 OF_SHARED = _gdalconst.OF_SHARED 194 OF_VERBOSE_ERROR = _gdalconst.OF_VERBOSE_ERROR 195 DMD_LONGNAME = _gdalconst.DMD_LONGNAME 196 DMD_HELPTOPIC = _gdalconst.DMD_HELPTOPIC 197 DMD_MIMETYPE = _gdalconst.DMD_MIMETYPE 198 DMD_EXTENSION = _gdalconst.DMD_EXTENSION 199 DMD_CONNECTION_PREFIX = _gdalconst.DMD_CONNECTION_PREFIX 200 DMD_EXTENSIONS = _gdalconst.DMD_EXTENSIONS 201 DMD_CREATIONOPTIONLIST = _gdalconst.DMD_CREATIONOPTIONLIST 202 DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST = _gdalconst.DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST 203 DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST = _gdalconst.DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST 204 DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST = _gdalconst.DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST 205 DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST = _gdalconst.DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST 206 DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST = _gdalconst.DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST 207 DMD_OPENOPTIONLIST = _gdalconst.DMD_OPENOPTIONLIST 208 DMD_CREATIONDATATYPES = _gdalconst.DMD_CREATIONDATATYPES 209 DMD_CREATIONFIELDDATATYPES = _gdalconst.DMD_CREATIONFIELDDATATYPES 210 DMD_CREATIONFIELDDATASUBTYPES = _gdalconst.DMD_CREATIONFIELDDATASUBTYPES 211 DMD_SUBDATASETS = _gdalconst.DMD_SUBDATASETS 212 DCAP_OPEN = _gdalconst.DCAP_OPEN 213 DCAP_CREATE = _gdalconst.DCAP_CREATE 214 DCAP_CREATE_MULTIDIMENSIONAL = _gdalconst.DCAP_CREATE_MULTIDIMENSIONAL 215 DCAP_CREATECOPY = _gdalconst.DCAP_CREATECOPY 216 DCAP_CREATECOPY_MULTIDIMENSIONAL = _gdalconst.DCAP_CREATECOPY_MULTIDIMENSIONAL 217 DCAP_MULTIDIM_RASTER = _gdalconst.DCAP_MULTIDIM_RASTER 218 DCAP_SUBCREATECOPY = _gdalconst.DCAP_SUBCREATECOPY 219 DCAP_VIRTUALIO = _gdalconst.DCAP_VIRTUALIO 220 DCAP_RASTER = _gdalconst.DCAP_RASTER 221 DCAP_VECTOR = _gdalconst.DCAP_VECTOR 222 DCAP_GNM = _gdalconst.DCAP_GNM 223 DCAP_NOTNULL_FIELDS = _gdalconst.DCAP_NOTNULL_FIELDS 224 DCAP_UNIQUE_FIELDS = _gdalconst.DCAP_UNIQUE_FIELDS 225 DCAP_DEFAULT_FIELDS = _gdalconst.DCAP_DEFAULT_FIELDS 226 DCAP_NOTNULL_GEOMFIELDS = _gdalconst.DCAP_NOTNULL_GEOMFIELDS 227 DCAP_NONSPATIAL = _gdalconst.DCAP_NONSPATIAL 228 DCAP_FEATURE_STYLES = _gdalconst.DCAP_FEATURE_STYLES 229 DCAP_COORDINATE_EPOCH = _gdalconst.DCAP_COORDINATE_EPOCH 230 DCAP_MULTIPLE_VECTOR_LAYERS = _gdalconst.DCAP_MULTIPLE_VECTOR_LAYERS 231 DIM_TYPE_HORIZONTAL_X = _gdalconst.DIM_TYPE_HORIZONTAL_X 232 DIM_TYPE_HORIZONTAL_Y = _gdalconst.DIM_TYPE_HORIZONTAL_Y 233 DIM_TYPE_VERTICAL = _gdalconst.DIM_TYPE_VERTICAL 234 DIM_TYPE_TEMPORAL = _gdalconst.DIM_TYPE_TEMPORAL 235 DIM_TYPE_PARAMETRIC = _gdalconst.DIM_TYPE_PARAMETRIC 236 CPLES_BackslashQuotable = _gdalconst.CPLES_BackslashQuotable 237 CPLES_XML = _gdalconst.CPLES_XML 238 CPLES_XML_BUT_QUOTES = _gdalconst.CPLES_XML_BUT_QUOTES 239 CPLES_URL = _gdalconst.CPLES_URL 240 CPLES_SQL = _gdalconst.CPLES_SQL 241 CPLES_CSV = _gdalconst.CPLES_CSV 242 GFT_Integer = _gdalconst.GFT_Integer 243 GFT_Real = _gdalconst.GFT_Real 244 GFT_String = _gdalconst.GFT_String 245 GFU_Generic = _gdalconst.GFU_Generic 246 GFU_PixelCount = _gdalconst.GFU_PixelCount 247 GFU_Name = _gdalconst.GFU_Name 248 GFU_Min = _gdalconst.GFU_Min 249 GFU_Max = _gdalconst.GFU_Max 250 GFU_MinMax = _gdalconst.GFU_MinMax 251 GFU_Red = _gdalconst.GFU_Red 252 GFU_Green = _gdalconst.GFU_Green 253 GFU_Blue = _gdalconst.GFU_Blue 254 GFU_Alpha = _gdalconst.GFU_Alpha 255 GFU_RedMin = _gdalconst.GFU_RedMin 256 GFU_GreenMin = _gdalconst.GFU_GreenMin 257 GFU_BlueMin = _gdalconst.GFU_BlueMin 258 GFU_AlphaMin = _gdalconst.GFU_AlphaMin 259 GFU_RedMax = _gdalconst.GFU_RedMax 260 GFU_GreenMax = _gdalconst.GFU_GreenMax 261 GFU_BlueMax = _gdalconst.GFU_BlueMax 262 GFU_AlphaMax = _gdalconst.GFU_AlphaMax 263 GFU_MaxCount = _gdalconst.GFU_MaxCount 264 GRTT_THEMATIC = _gdalconst.GRTT_THEMATIC 265 GRTT_ATHEMATIC = _gdalconst.GRTT_ATHEMATIC 266 GMF_ALL_VALID = _gdalconst.GMF_ALL_VALID 267 GMF_PER_DATASET = _gdalconst.GMF_PER_DATASET 268 GMF_ALPHA = _gdalconst.GMF_ALPHA 269 GMF_NODATA = _gdalconst.GMF_NODATA 270 GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED = _gdalconst.GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED 271 GDAL_DATA_COVERAGE_STATUS_DATA = _gdalconst.GDAL_DATA_COVERAGE_STATUS_DATA 272 GDAL_DATA_COVERAGE_STATUS_EMPTY = _gdalconst.GDAL_DATA_COVERAGE_STATUS_EMPTY 273 GARIO_PENDING = _gdalconst.GARIO_PENDING 274 GARIO_UPDATE = _gdalconst.GARIO_UPDATE 275 GARIO_ERROR = _gdalconst.GARIO_ERROR 276 GARIO_COMPLETE = _gdalconst.GARIO_COMPLETE 277 GTO_TIP = _gdalconst.GTO_TIP 278 GTO_BIT = _gdalconst.GTO_BIT 279 GTO_BSQ = _gdalconst.GTO_BSQ 280 # This file is compatible with both classic and new-style classes. 281