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

Module gdal

source code

Classes [hide private]
  _swig_property
property(fget=None, fset=None, fdel=None, doc=None) -> property attribute
  _object
  StatBuf
Proxy of C++ StatBuf class
  MajorObject
Proxy of C++ GDALMajorObjectShadow class
  Driver
Proxy of C++ GDALDriverShadow class
  ColorEntry
Proxy of C++ GDALColorEntry class
  GCP
Proxy of C++ GDAL_GCP class
  AsyncReader
Proxy of C++ GDALAsyncReaderShadow class
  Dataset
Proxy of C++ GDALDatasetShadow class
  Band
Proxy of C++ GDALRasterBandShadow class
  ColorTable
Proxy of C++ GDALColorTableShadow class
  RasterAttributeTable
Proxy of C++ GDALRasterAttributeTableShadow class
  Transformer
Proxy of C++ GDALTransformerInfoShadow class
Functions [hide private]
 
_swig_setattr_nondynamic(self, class_type, name, value, static=1) source code
 
_swig_setattr(self, class_type, name, value) source code
 
_swig_getattr(self, class_type, name) source code
 
_swig_repr(self) source code
 
deprecation_warn(module) source code
 
RGBFile2PCTFile(src_filename, dst_filename) source code
int
GetUseExceptions() source code
 
UseExceptions() source code
 
DontUseExceptions() source code
 
VSIFReadL(*args)
VSIFReadL(int nMembSize, int nMembCount, VSILFILE fp) -> int
source code
 
Debug(*args)
Debug(char msg_class, char message)
source code
 
Error(*args)
Error(CPLErr msg_class = CE_Failure, int err_code = 0, char msg = "error")
source code
 
PopErrorHandler() source code
 
ErrorReset() source code
 
EscapeString(*args, **kwargs)
EscapeString(int len, int scheme = CPLES_SQL) -> retStringAndCPLFree
source code
int
GetLastErrorNo() source code
int
GetLastErrorType() source code
char
GetLastErrorMsg() source code
 
PushFinderLocation(*args)
PushFinderLocation(char utf8_path)
source code
 
PopFinderLocation() source code
 
FinderClean() source code
 
FindFile(*args)
FindFile(char pszClass, char utf8_path) -> char
source code
 
ReadDir(*args)
ReadDir(char utf8_path) -> char
source code
 
SetConfigOption(*args)
SetConfigOption(char pszKey, char pszValue)
source code
 
GetConfigOption(*args)
GetConfigOption(char pszKey, char pszDefault = None) -> char
source code
 
CPLBinaryToHex(*args)
CPLBinaryToHex(int nBytes) -> retStringAndCPLFree
source code
 
CPLHexToBinary(*args)
CPLHexToBinary(char pszHex, int pnBytes) -> GByte
source code
 
FileFromMemBuffer(*args)
FileFromMemBuffer(char utf8_path, int nBytes)
source code
 
Unlink(*args)
Unlink(char utf8_path) -> int
source code
int
HasThreadSupport() source code
 
Mkdir(*args)
Mkdir(char utf8_path, int mode) -> int
source code
 
Rmdir(*args)
Rmdir(char utf8_path) -> int
source code
 
Rename(*args)
Rename(char pszOld, char pszNew) -> int
source code
 
PushErrorHandler(*args)
PushErrorHandler(char pszCallbackName = None) -> CPLErr PushErrorHandler(CPLErrorHandler arg0)
source code
 
VSIStatL(*args)
VSIStatL(char utf8_path, int nFlags = 0) -> int
source code
 
VSIFOpenL(*args)
VSIFOpenL(char utf8_path, char pszMode) -> VSILFILE
source code
 
VSIFCloseL(*args)
VSIFCloseL(VSILFILE arg0)
source code
 
VSIFSeekL(*args)
VSIFSeekL(VSILFILE arg0, GIntBig arg1, int arg2) -> int
source code
 
VSIFTellL(*args)
VSIFTellL(VSILFILE arg0) -> GIntBig
source code
 
VSIFTruncateL(*args)
VSIFTruncateL(VSILFILE arg0, GIntBig arg1) -> int
source code
 
VSIFWriteL(*args)
VSIFWriteL(int nLen, int size, int memb, VSILFILE f) -> int
source code
 
GDAL_GCP_GCPX_get(*args)
GDAL_GCP_GCPX_get(GCP gcp) -> double
source code
 
GDAL_GCP_GCPX_set(*args)
GDAL_GCP_GCPX_set(GCP gcp, double dfGCPX)
source code
 
GDAL_GCP_GCPY_get(*args)
GDAL_GCP_GCPY_get(GCP gcp) -> double
source code
 
GDAL_GCP_GCPY_set(*args)
GDAL_GCP_GCPY_set(GCP gcp, double dfGCPY)
source code
 
GDAL_GCP_GCPZ_get(*args)
GDAL_GCP_GCPZ_get(GCP gcp) -> double
source code
 
GDAL_GCP_GCPZ_set(*args)
GDAL_GCP_GCPZ_set(GCP gcp, double dfGCPZ)
source code
 
GDAL_GCP_GCPPixel_get(*args)
GDAL_GCP_GCPPixel_get(GCP gcp) -> double
source code
 
GDAL_GCP_GCPPixel_set(*args)
GDAL_GCP_GCPPixel_set(GCP gcp, double dfGCPPixel)
source code
 
GDAL_GCP_GCPLine_get(*args)
GDAL_GCP_GCPLine_get(GCP gcp) -> double
source code
 
GDAL_GCP_GCPLine_set(*args)
GDAL_GCP_GCPLine_set(GCP gcp, double dfGCPLine)
source code
 
GDAL_GCP_Info_get(*args)
GDAL_GCP_Info_get(GCP gcp) -> char
source code
 
GDAL_GCP_Info_set(*args)
GDAL_GCP_Info_set(GCP gcp, char pszInfo)
source code
 
GDAL_GCP_Id_get(*args)
GDAL_GCP_Id_get(GCP gcp) -> char
source code
 
GDAL_GCP_Id_set(*args)
GDAL_GCP_Id_set(GCP gcp, char pszId)
source code
 
GDAL_GCP_get_GCPX(*args)
GDAL_GCP_get_GCPX(GCP gcp) -> double
source code
 
GDAL_GCP_set_GCPX(*args)
GDAL_GCP_set_GCPX(GCP gcp, double dfGCPX)
source code
 
GDAL_GCP_get_GCPY(*args)
GDAL_GCP_get_GCPY(GCP gcp) -> double
source code
 
GDAL_GCP_set_GCPY(*args)
GDAL_GCP_set_GCPY(GCP gcp, double dfGCPY)
source code
 
GDAL_GCP_get_GCPZ(*args)
GDAL_GCP_get_GCPZ(GCP gcp) -> double
source code
 
GDAL_GCP_set_GCPZ(*args)
GDAL_GCP_set_GCPZ(GCP gcp, double dfGCPZ)
source code
 
GDAL_GCP_get_GCPPixel(*args)
GDAL_GCP_get_GCPPixel(GCP gcp) -> double
source code
 
GDAL_GCP_set_GCPPixel(*args)
GDAL_GCP_set_GCPPixel(GCP gcp, double dfGCPPixel)
source code
 
GDAL_GCP_get_GCPLine(*args)
GDAL_GCP_get_GCPLine(GCP gcp) -> double
source code
 
GDAL_GCP_set_GCPLine(*args)
GDAL_GCP_set_GCPLine(GCP gcp, double dfGCPLine)
source code
 
GDAL_GCP_get_Info(*args)
GDAL_GCP_get_Info(GCP gcp) -> char
source code
 
GDAL_GCP_set_Info(*args)
GDAL_GCP_set_Info(GCP gcp, char pszInfo)
source code
 
GDAL_GCP_get_Id(*args)
GDAL_GCP_get_Id(GCP gcp) -> char
source code
 
GDAL_GCP_set_Id(*args)
GDAL_GCP_set_Id(GCP gcp, char pszId)
source code
 
GCPsToGeoTransform(*args)
GCPsToGeoTransform(int nGCPs, int bApproxOK = 1) -> RETURN_NONE
source code
 
TermProgress_nocb(*args, **kwargs)
TermProgress_nocb(double dfProgress, char pszMessage = None, void pData = None) -> int
source code
Variables [hide private]
  _newclass = 0
  have_warned = 0
  byteorders = {"little": "<", "big": ">"}
  array_modes = {gdalconst.GDT_Int16:("%si2" % byteorders [sys.b...
  VSI_STAT_EXISTS_FLAG = _gdal.VSI_STAT_EXISTS_FLAG
  VSI_STAT_NATURE_FLAG = _gdal.VSI_STAT_NATURE_FLAG
  VSI_STAT_SIZE_FLAG = _gdal.VSI_STAT_SIZE_FLAG
  StatBuf_swigregister = _gdal.StatBuf_swigregister
  MajorObject_swigregister = _gdal.MajorObject_swigregister
  Driver_swigregister = _gdal.Driver_swigregister
  ColorEntry_swigregister = _gdal.ColorEntry_swigregister
  GCP_swigregister = _gdal.GCP_swigregister
  AsyncReader_swigregister = _gdal.AsyncReader_swigregister
  Dataset_swigregister = _gdal.Dataset_swigregister
  Band_swigregister = _gdal.Band_swigregister
  ColorTable_swigregister = _gdal.ColorTable_swigregister
  RasterAttributeTable_swigregister = _gdal.RasterAttributeTable...
  TermProgress = _gdal.TermProgress
  ComputeMedianCutPCT = _gdal.ComputeMedianCutPCT
  DitherRGB2PCT = _gdal.DitherRGB2PCT
  ReprojectImage = _gdal.ReprojectImage
  ComputeProximity = _gdal.ComputeProximity
  RasterizeLayer = _gdal.RasterizeLayer
  Polygonize = _gdal.Polygonize
  FillNodata = _gdal.FillNodata
  SieveFilter = _gdal.SieveFilter
  RegenerateOverviews = _gdal.RegenerateOverviews
  RegenerateOverview = _gdal.RegenerateOverview
  ContourGenerate = _gdal.ContourGenerate
  AutoCreateWarpedVRT = _gdal.AutoCreateWarpedVRT
  Transformer_swigregister = _gdal.Transformer_swigregister
  ApplyGeoTransform = _gdal.ApplyGeoTransform
  InvGeoTransform = _gdal.InvGeoTransform
  VersionInfo = _gdal.VersionInfo
  AllRegister = _gdal.AllRegister
  GDALDestroyDriverManager = _gdal.GDALDestroyDriverManager
  GetCacheMax = _gdal.GetCacheMax
  GetCacheUsed = _gdal.GetCacheUsed
  SetCacheMax = _gdal.SetCacheMax
  GetDataTypeSize = _gdal.GetDataTypeSize
  DataTypeIsComplex = _gdal.DataTypeIsComplex
  GetDataTypeName = _gdal.GetDataTypeName
  GetDataTypeByName = _gdal.GetDataTypeByName
  GetColorInterpretationName = _gdal.GetColorInterpretationName
  GetPaletteInterpretationName = _gdal.GetPaletteInterpretationName
  DecToDMS = _gdal.DecToDMS
  PackedDMSToDec = _gdal.PackedDMSToDec
  DecToPackedDMS = _gdal.DecToPackedDMS
  ParseXMLString = _gdal.ParseXMLString
  SerializeXMLTree = _gdal.SerializeXMLTree
  GetDriverCount = _gdal.GetDriverCount
  GetDriverByName = _gdal.GetDriverByName
  GetDriver = _gdal.GetDriver
  Open = _gdal.Open
  OpenShared = _gdal.OpenShared
  IdentifyDriver = _gdal.IdentifyDriver
  GeneralCmdLineProcessor = _gdal.GeneralCmdLineProcessor
Variables Details [hide private]

array_modes

Value:
{gdalconst.GDT_Int16:("%si2" % byteorders [sys.byteorder]), gdalconst.\
GDT_UInt16:("%su2" % byteorders [sys.byteorder]), gdalconst.GDT_Int32:\
("%si4" % byteorders [sys.byteorder]), gdalconst.GDT_UInt32:("%su4" % \
byteorders [sys.byteorder]), gdalconst.GDT_Float32:("%sf4" % byteorder\
s [sys.byteorder]), gdalconst.GDT_Float64:("%sf8" % byteorders [sys.by\
teorder]), gdalconst.GDT_CFloat32:("%sf4" % byteorders [sys.byteorder]\
), gdalconst.GDT_CFloat64:("%sf8" % byteorders [sys.byteorder]), gdalc\
onst.GDT_Byte:("%st8" % byteorders [sys.byteorder]),}

RasterAttributeTable_swigregister

Value:
_gdal.RasterAttributeTable_swigregister