gsdview.gdalbackend.modelitems

GDAL items for Qt4 QStandardItemModel.

Functions

datasetitem(filename) Factory for dataset items.

Classes

BandItem(band, **kwargs) Raster band item.
CachedDatasetItem(filename[, mode])
DatasetItem(filename[, mode]) Dataset item
MajorObjectItem(gdalobj, **kwargs)
OverviewItem(band, **kwargs)
SubDatasetItem(gdalfilename[, extrainfo])

Exceptions

OpenError
class gsdview.gdalbackend.modelitems.BandItem(band, **kwargs)[source]

Bases: gsdview.gdalbackend.modelitems.MajorObjectItem

Raster band item.

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

It also as attatched a graphics scene containing a GdalGraphicsItem

GetOverview(index)[source]
GetOverviewCount()[source]
close()[source]
cmapper[source]

Coordinate mapper object.

footprint()[source]
graphicsitem = None

graphics item representing the raster band

iconfile = <PyQt4.QtGui.QIcon object at 0x441bb90>
scene = None

graphics scene associated to the raster band

class gsdview.gdalbackend.modelitems.CachedDatasetItem(filename, mode=1, **kwargs)[source]

Bases: gsdview.gdalbackend.modelitems.DatasetItem

CACHEDIR = '/home/antonio/.gsdview/cache'
GetMetadata(domain='')[source]
GetMetadataItem(name, domain='')[source]
GetMetadata_Dict(domain='')[source]
GetMetadata_List(domain='')[source]
close()[source]
cmapper = None

coordinate mapper

filename = None

dataset filename

graphicsitem = None

graphics item representing the dataset

reopen()[source]
scene = None

graphics scene associated to the item

vrtfilename = None

filename of the cached virtual dataset

class gsdview.gdalbackend.modelitems.DatasetItem(filename, mode=0, **kwargs)[source]

Bases: gsdview.gdalbackend.modelitems.MajorObjectItem

Dataset item

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

GetRasterBand(index)[source]
GetSubDatasets()[source]
close()[source]
cmapper = None

coordiante mapper

filename = None

dataset filename

footprint()[source]

Return the dataset geographic footprint as a QPolygonF.

The geographic footprint is a QPolygonF containing the four vertices of the image in geographic coordinates. If no geographic info is available in the dataset None is returned.

graphicsitem = None

graphics item representing the dataset

iconfile = <PyQt4.QtGui.QIcon object at 0x441bcb0>
scene = None

graphics scene associated to the item

class gsdview.gdalbackend.modelitems.MajorObjectItem(gdalobj, **kwargs)[source]

Bases: PyQt4.QtGui.QStandardItem

backend = 'gdalbackend'
close()[source]
iconfile = <PyQt4.QtGui.QIcon object at 0x441bb00>
type()[source]
class gsdview.gdalbackend.modelitems.OverviewItem(band, **kwargs)[source]

Bases: gsdview.gdalbackend.modelitems.BandItem

iconfile = <PyQt4.QtGui.QIcon object at 0x441bc20>
class gsdview.gdalbackend.modelitems.SubDatasetItem(gdalfilename, extrainfo='', **kwargs)[source]

Bases: gsdview.gdalbackend.modelitems.CachedDatasetItem

GetMetadata(domain='')[source]
GetMetadataItem(name, domain='')[source]
GetMetadata_Dict(domain='')[source]
GetMetadata_List(domain='')[source]
GetRasterBand(index)[source]
close()[source]
cmapper = None

coordinate mapper

extrainfo = None

GDAL sub-dataset info

filename = None

dataset filename

graphicsitem = None

graphics item representing the dataset

iconfile = <PyQt4.QtGui.QIcon object at 0x441bd40>
isopen()[source]
open(cachedir=None)[source]
reopen()[source]
scene = None

graphics scene associated to the item

vrtfilename = None

filename of the cached virtual dataset

gsdview.gdalbackend.modelitems.datasetitem(filename)[source]

Factory for dataset items.

Get GSDView at SourceForge.net. Fast, secure and Free Open Source software downloads

Previous topic

gsdview.gdalbackend.info

Next topic

gsdview.gdalbackend.ogrqt4

This Page