gsdview.gdalbackend.modelitems

GDAL items for PyQt4 QStandardItemModel.

Functions

datasetitem(*args, **kwargs)

Classes

BandItem(band[, imagerequired]) Raster band item
CachedDatasetItem(filename[, cachedir])
DatasetItem(filename[, mode]) Dataset item
MajorObjectItem(gdalobj)
SubDatasetItem(gdalfilename[, extrainfo])
class gsdview.gdalbackend.modelitems.BandItem(band, imagerequired=True)

Raster band item

This class implements both the QStandardItem and the gdal.Band interface. It also as attatched a graphics scene containing a GdalGraphicsItem

Extra attributes:
 
  • scene
  • graphicsitem
GetStatistics(approx_ok, force)
cmapper
footprint()
get_cmapper()
class gsdview.gdalbackend.modelitems.CachedDatasetItem(filename, cachedir=None)
reopen()
class gsdview.gdalbackend.modelitems.DatasetItem(filename, mode=0)

Dataset item

This class implements both the QStandardItem and the gdal.Dataset interface.

Attributes :
  • filename
  • cmapper – coordinate mapper
GetRasterBand(index)
GetSubDatasets()
close()
footprint()
Return the dataset footprint as a QPolygonF or None
class gsdview.gdalbackend.modelitems.MajorObjectItem(gdalobj)
type()
class gsdview.gdalbackend.modelitems.SubDatasetItem(gdalfilename, extrainfo='')
close()
isopen()
open(parentdir=None)

Previous topic

gsdview.gdalbackend.info

Next topic

gsdview.gdalbackend.widgets

This Page