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

Class Dataset

source code


Proxy of C++ GDALDatasetShadow class

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
__repr__(self) source code
Driver
GetDriver(self) source code
 
GetRasterBand(self, *args)
GetRasterBand(self, int nBand) -> Band
source code
char
GetProjection(self) source code
char
GetProjectionRef(self) source code
 
SetProjection(self, *args)
SetProjection(self, char prj) -> CPLErr
source code
 
GetGeoTransform(self, *args, **kwargs)
GetGeoTransform(self, int can_return_null = None)
source code
 
SetGeoTransform(self, *args)
SetGeoTransform(self, double argin) -> CPLErr
source code
 
BuildOverviews(self, *args, **kwargs)
BuildOverviews(self, char resampling = "NEAREST", int overviewlist = 0, ...
source code
int
GetGCPCount(self) source code
char
GetGCPProjection(self) source code
 
GetGCPs(self) source code
 
SetGCPs(self, *args)
SetGCPs(self, int nGCPs, char pszGCPProjection) -> CPLErr
source code
 
FlushCache(self) source code
 
AddBand(self, *args, **kwargs)
AddBand(self, GDALDataType datatype = GDT_Byte, char options = None) -> CPLErr
source code
 
CreateMaskBand(self, *args)
CreateMaskBand(self, int nFlags) -> CPLErr
source code
char
GetFileList(self) source code
 
EndAsyncReader(self, *args)
EndAsyncReader(self, AsyncReader ario)
source code
 
ReadRaster1(self, *args, **kwargs)
ReadRaster1(self, int xoff, int yoff, int xsize, int ysize, int buf_xsize = None, ...
source code
 
ReadAsArray(self, xoff=0, yoff=0, xsize=None, ysize=None, buf_obj=None) source code
 
WriteRaster(self, xoff, yoff, xsize, ysize, buf_string, buf_xsize=None, buf_ysize=None, buf_type=None, band_list=None, buf_pixel_space=None, buf_line_space=None, buf_band_space=None) source code
 
ReadRaster(self, xoff, yoff, xsize, ysize, buf_xsize=None, buf_ysize=None, buf_type=None, band_list=None, buf_pixel_space=None, buf_line_space=None, buf_band_space=None) source code
 
GetSubDatasets(self) source code
 
BeginAsyncReader(self, xoff, yoff, xsize, ysize, buf_obj=None, buf_xsize=None, buf_ysize=None, buf_type=None, band_list=None, options=[]) source code

Inherited from MajorObject: GetDescription, GetMetadata, GetMetadataItem, GetMetadata_Dict, GetMetadata_List, SetDescription, SetMetadata, SetMetadataItem

Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _gdal.delete_Dataset
  __del__ = lambda self:
Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: MajorObject.__init__

__repr__(self)
(Representation operator)

source code 
Overrides: _swig_repr

BuildOverviews(self, *args, **kwargs)

source code 

BuildOverviews(self, char resampling = "NEAREST", int overviewlist = 0, 
    GDALProgressFunc callback = None, void callback_data = None) -> int

ReadRaster1(self, *args, **kwargs)

source code 

ReadRaster1(self, int xoff, int yoff, int xsize, int ysize, int buf_xsize = None, 
    int buf_ysize = None, GDALDataType buf_type = None, 
    int band_list = 0, int buf_pixel_space = None, 
    int buf_line_space = None, 
    int buf_band_space = None) -> CPLErr