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 4.0.1 
  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      raise RuntimeError("Python 2.7 or later required") 
 10   
 11  # Import the low-level C/C++ module 
 12  if __package__ or "." in __name__: 
 13      from . import _gdalconst 
 14  else: 
 15      import _gdalconst 
 16   
 17  try: 
 18      import builtins as __builtin__ 
 19  except ImportError: 
 20      import __builtin__ 
 21   
22 -def _swig_repr(self):
23 try: 24 strthis = "proxy of " + self.this.__repr__() 25 except __builtin__.Exception: 26 strthis = "" 27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
28 29
30 -def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value): 32 if name == "thisown": 33 self.this.own(value) 34 elif name == "this": 35 set(self, name, value) 36 elif hasattr(self, name) and isinstance(getattr(type(self), name), property): 37 set(self, name, value) 38 else: 39 raise AttributeError("You cannot add instance attributes to %s" % self)
40 return set_instance_attr 41 42
43 -def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value): 45 if hasattr(cls, name) and not isinstance(getattr(cls, name), property): 46 set(cls, name, value) 47 else: 48 raise AttributeError("You cannot add class attributes to %s" % cls)
49 return set_class_attr 50 51
52 -def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass""" 54 def wrapper(cls): 55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
56 return wrapper 57 58
59 -class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class""" 61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
62 63 64 GDT_Unknown = _gdalconst.GDT_Unknown 65 GDT_Byte = _gdalconst.GDT_Byte 66 GDT_UInt16 = _gdalconst.GDT_UInt16 67 GDT_Int16 = _gdalconst.GDT_Int16 68 GDT_UInt32 = _gdalconst.GDT_UInt32 69 GDT_Int32 = _gdalconst.GDT_Int32 70 GDT_Float32 = _gdalconst.GDT_Float32 71 GDT_Float64 = _gdalconst.GDT_Float64 72 GDT_CInt16 = _gdalconst.GDT_CInt16 73 GDT_CInt32 = _gdalconst.GDT_CInt32 74 GDT_CFloat32 = _gdalconst.GDT_CFloat32 75 GDT_CFloat64 = _gdalconst.GDT_CFloat64 76 GDT_TypeCount = _gdalconst.GDT_TypeCount 77 GA_ReadOnly = _gdalconst.GA_ReadOnly 78 GA_Update = _gdalconst.GA_Update 79 GF_Read = _gdalconst.GF_Read 80 GF_Write = _gdalconst.GF_Write 81 GRIORA_NearestNeighbour = _gdalconst.GRIORA_NearestNeighbour 82 GRIORA_Bilinear = _gdalconst.GRIORA_Bilinear 83 GRIORA_Cubic = _gdalconst.GRIORA_Cubic 84 GRIORA_CubicSpline = _gdalconst.GRIORA_CubicSpline 85 GRIORA_Lanczos = _gdalconst.GRIORA_Lanczos 86 GRIORA_Average = _gdalconst.GRIORA_Average 87 GRIORA_RMS = _gdalconst.GRIORA_RMS 88 GRIORA_Mode = _gdalconst.GRIORA_Mode 89 GRIORA_Gauss = _gdalconst.GRIORA_Gauss 90 GCI_Undefined = _gdalconst.GCI_Undefined 91 GCI_GrayIndex = _gdalconst.GCI_GrayIndex 92 GCI_PaletteIndex = _gdalconst.GCI_PaletteIndex 93 GCI_RedBand = _gdalconst.GCI_RedBand 94 GCI_GreenBand = _gdalconst.GCI_GreenBand 95 GCI_BlueBand = _gdalconst.GCI_BlueBand 96 GCI_AlphaBand = _gdalconst.GCI_AlphaBand 97 GCI_HueBand = _gdalconst.GCI_HueBand 98 GCI_SaturationBand = _gdalconst.GCI_SaturationBand 99 GCI_LightnessBand = _gdalconst.GCI_LightnessBand 100 GCI_CyanBand = _gdalconst.GCI_CyanBand 101 GCI_MagentaBand = _gdalconst.GCI_MagentaBand 102 GCI_YellowBand = _gdalconst.GCI_YellowBand 103 GCI_BlackBand = _gdalconst.GCI_BlackBand 104 GCI_YCbCr_YBand = _gdalconst.GCI_YCbCr_YBand 105 GCI_YCbCr_CrBand = _gdalconst.GCI_YCbCr_CrBand 106 GCI_YCbCr_CbBand = _gdalconst.GCI_YCbCr_CbBand 107 GRA_NearestNeighbour = _gdalconst.GRA_NearestNeighbour 108 GRA_Bilinear = _gdalconst.GRA_Bilinear 109 GRA_Cubic = _gdalconst.GRA_Cubic 110 GRA_CubicSpline = _gdalconst.GRA_CubicSpline 111 GRA_Lanczos = _gdalconst.GRA_Lanczos 112 GRA_Average = _gdalconst.GRA_Average 113 GRA_RMS = _gdalconst.GRA_RMS 114 GRA_Mode = _gdalconst.GRA_Mode 115 GRA_Max = _gdalconst.GRA_Max 116 GRA_Min = _gdalconst.GRA_Min 117 GRA_Med = _gdalconst.GRA_Med 118 GRA_Q1 = _gdalconst.GRA_Q1 119 GRA_Q3 = _gdalconst.GRA_Q3 120 GRA_Sum = _gdalconst.GRA_Sum 121 GPI_Gray = _gdalconst.GPI_Gray 122 GPI_RGB = _gdalconst.GPI_RGB 123 GPI_CMYK = _gdalconst.GPI_CMYK 124 GPI_HLS = _gdalconst.GPI_HLS 125 CXT_Element = _gdalconst.CXT_Element 126 CXT_Text = _gdalconst.CXT_Text 127 CXT_Attribute = _gdalconst.CXT_Attribute 128 CXT_Comment = _gdalconst.CXT_Comment 129 CXT_Literal = _gdalconst.CXT_Literal 130 CE_None = _gdalconst.CE_None 131 CE_Debug = _gdalconst.CE_Debug 132 CE_Warning = _gdalconst.CE_Warning 133 CE_Failure = _gdalconst.CE_Failure 134 CE_Fatal = _gdalconst.CE_Fatal 135 CPLE_None = _gdalconst.CPLE_None 136 CPLE_AppDefined = _gdalconst.CPLE_AppDefined 137 CPLE_OutOfMemory = _gdalconst.CPLE_OutOfMemory 138 CPLE_FileIO = _gdalconst.CPLE_FileIO 139 CPLE_OpenFailed = _gdalconst.CPLE_OpenFailed 140 CPLE_IllegalArg = _gdalconst.CPLE_IllegalArg 141 CPLE_NotSupported = _gdalconst.CPLE_NotSupported 142 CPLE_AssertionFailed = _gdalconst.CPLE_AssertionFailed 143 CPLE_NoWriteAccess = _gdalconst.CPLE_NoWriteAccess 144 CPLE_UserInterrupt = _gdalconst.CPLE_UserInterrupt 145 CPLE_ObjectNull = _gdalconst.CPLE_ObjectNull 146 CPLE_HttpResponse = _gdalconst.CPLE_HttpResponse 147 CPLE_AWSBucketNotFound = _gdalconst.CPLE_AWSBucketNotFound 148 CPLE_AWSObjectNotFound = _gdalconst.CPLE_AWSObjectNotFound 149 CPLE_AWSAccessDenied = _gdalconst.CPLE_AWSAccessDenied 150 CPLE_AWSInvalidCredentials = _gdalconst.CPLE_AWSInvalidCredentials 151 CPLE_AWSSignatureDoesNotMatch = _gdalconst.CPLE_AWSSignatureDoesNotMatch 152 OF_ALL = _gdalconst.OF_ALL 153 OF_RASTER = _gdalconst.OF_RASTER 154 OF_VECTOR = _gdalconst.OF_VECTOR 155 OF_GNM = _gdalconst.OF_GNM 156 OF_MULTIDIM_RASTER = _gdalconst.OF_MULTIDIM_RASTER 157 OF_READONLY = _gdalconst.OF_READONLY 158 OF_UPDATE = _gdalconst.OF_UPDATE 159 OF_SHARED = _gdalconst.OF_SHARED 160 OF_VERBOSE_ERROR = _gdalconst.OF_VERBOSE_ERROR 161 DMD_LONGNAME = _gdalconst.DMD_LONGNAME 162 DMD_HELPTOPIC = _gdalconst.DMD_HELPTOPIC 163 DMD_MIMETYPE = _gdalconst.DMD_MIMETYPE 164 DMD_EXTENSION = _gdalconst.DMD_EXTENSION 165 DMD_EXTENSIONS = _gdalconst.DMD_EXTENSIONS 166 DMD_CONNECTION_PREFIX = _gdalconst.DMD_CONNECTION_PREFIX 167 DMD_CREATIONOPTIONLIST = _gdalconst.DMD_CREATIONOPTIONLIST 168 DMD_CREATIONDATATYPES = _gdalconst.DMD_CREATIONDATATYPES 169 DMD_CREATIONFIELDDATATYPES = _gdalconst.DMD_CREATIONFIELDDATATYPES 170 DMD_SUBDATASETS = _gdalconst.DMD_SUBDATASETS 171 DCAP_OPEN = _gdalconst.DCAP_OPEN 172 DCAP_CREATE = _gdalconst.DCAP_CREATE 173 DCAP_CREATECOPY = _gdalconst.DCAP_CREATECOPY 174 DCAP_VIRTUALIO = _gdalconst.DCAP_VIRTUALIO 175 DCAP_RASTER = _gdalconst.DCAP_RASTER 176 DCAP_VECTOR = _gdalconst.DCAP_VECTOR 177 DCAP_NOTNULL_FIELDS = _gdalconst.DCAP_NOTNULL_FIELDS 178 DCAP_DEFAULT_FIELDS = _gdalconst.DCAP_DEFAULT_FIELDS 179 DCAP_NOTNULL_GEOMFIELDS = _gdalconst.DCAP_NOTNULL_GEOMFIELDS 180 DCAP_UNIQUE_FIELDS = _gdalconst.DCAP_UNIQUE_FIELDS 181 DIM_TYPE_HORIZONTAL_X = _gdalconst.DIM_TYPE_HORIZONTAL_X 182 DIM_TYPE_HORIZONTAL_Y = _gdalconst.DIM_TYPE_HORIZONTAL_Y 183 DIM_TYPE_VERTICAL = _gdalconst.DIM_TYPE_VERTICAL 184 DIM_TYPE_TEMPORAL = _gdalconst.DIM_TYPE_TEMPORAL 185 DIM_TYPE_PARAMETRIC = _gdalconst.DIM_TYPE_PARAMETRIC 186 CPLES_BackslashQuotable = _gdalconst.CPLES_BackslashQuotable 187 CPLES_XML = _gdalconst.CPLES_XML 188 CPLES_XML_BUT_QUOTES = _gdalconst.CPLES_XML_BUT_QUOTES 189 CPLES_URL = _gdalconst.CPLES_URL 190 CPLES_SQL = _gdalconst.CPLES_SQL 191 CPLES_CSV = _gdalconst.CPLES_CSV 192 GFT_Integer = _gdalconst.GFT_Integer 193 GFT_Real = _gdalconst.GFT_Real 194 GFT_String = _gdalconst.GFT_String 195 GFU_Generic = _gdalconst.GFU_Generic 196 GFU_PixelCount = _gdalconst.GFU_PixelCount 197 GFU_Name = _gdalconst.GFU_Name 198 GFU_Min = _gdalconst.GFU_Min 199 GFU_Max = _gdalconst.GFU_Max 200 GFU_MinMax = _gdalconst.GFU_MinMax 201 GFU_Red = _gdalconst.GFU_Red 202 GFU_Green = _gdalconst.GFU_Green 203 GFU_Blue = _gdalconst.GFU_Blue 204 GFU_Alpha = _gdalconst.GFU_Alpha 205 GFU_RedMin = _gdalconst.GFU_RedMin 206 GFU_GreenMin = _gdalconst.GFU_GreenMin 207 GFU_BlueMin = _gdalconst.GFU_BlueMin 208 GFU_AlphaMin = _gdalconst.GFU_AlphaMin 209 GFU_RedMax = _gdalconst.GFU_RedMax 210 GFU_GreenMax = _gdalconst.GFU_GreenMax 211 GFU_BlueMax = _gdalconst.GFU_BlueMax 212 GFU_AlphaMax = _gdalconst.GFU_AlphaMax 213 GFU_MaxCount = _gdalconst.GFU_MaxCount 214 GRTT_THEMATIC = _gdalconst.GRTT_THEMATIC 215 GRTT_ATHEMATIC = _gdalconst.GRTT_ATHEMATIC 216 GMF_ALL_VALID = _gdalconst.GMF_ALL_VALID 217 GMF_PER_DATASET = _gdalconst.GMF_PER_DATASET 218 GMF_ALPHA = _gdalconst.GMF_ALPHA 219 GMF_NODATA = _gdalconst.GMF_NODATA 220 GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED = _gdalconst.GDAL_DATA_COVERAGE_STATUS_UNIMPLEMENTED 221 GDAL_DATA_COVERAGE_STATUS_DATA = _gdalconst.GDAL_DATA_COVERAGE_STATUS_DATA 222 GDAL_DATA_COVERAGE_STATUS_EMPTY = _gdalconst.GDAL_DATA_COVERAGE_STATUS_EMPTY 223 GARIO_PENDING = _gdalconst.GARIO_PENDING 224 GARIO_UPDATE = _gdalconst.GARIO_UPDATE 225 GARIO_ERROR = _gdalconst.GARIO_ERROR 226 GARIO_COMPLETE = _gdalconst.GARIO_COMPLETE 227 GTO_TIP = _gdalconst.GTO_TIP 228 GTO_BIT = _gdalconst.GTO_BIT 229 GTO_BSQ = _gdalconst.GTO_BSQ 230