gsdview.gdalbackend.gdalqt4

Helper tools and custom components for binding GDAL and Qt4.

Functions

GDALTypeCodeToNumericTypeCode(gdal_code)
gdalcolorentry2qcolor(colrentry[, ...])
graphicsItemFactory(gdalobj[, parent, scene]) Factory function for GDAL graphics items.
numpy2qimage(data) Convert a numpy array into a QImage.
safeDataStats(data[, nodata])

Classes

BaseGdalGraphicsItem(gdalobj[, parent, scene])
GdalComplexGraphicsItem(band[, parent, scene])
GdalGraphicsItem(band[, parent, scene])
GdalRgbGraphicsItem(dataset[, parent, scene])
UIntGdalGraphicsItem(band[, parent, scene]) GDAL graphics item specialized for 8 and 16 it unsigned integers.
class gsdview.gdalbackend.gdalqt4.BaseGdalGraphicsItem(gdalobj, parent=None, scene=None, **kwargs)[source]

Bases: PyQt4.QtGui.QGraphicsItem

Type = 1001
boundingRect()[source]
dataRange(data=None)[source]
setDefaultStretch(data=None)[source]
type()[source]
class gsdview.gdalbackend.gdalqt4.GdalComplexGraphicsItem(band, parent=None, scene=None, **kwargs)[source]

Bases: gsdview.gdalbackend.gdalqt4.GdalGraphicsItem

Type = 1004
dataRange(data=None)[source]
paint(painter, option, widget)[source]
class gsdview.gdalbackend.gdalqt4.GdalGraphicsItem(band, parent=None, scene=None, **kwargs)[source]

Bases: gsdview.gdalbackend.gdalqt4.BaseGdalGraphicsItem

Type = 1003
dataRange(data=None)[source]
paint(painter, option, widget)[source]
class gsdview.gdalbackend.gdalqt4.GdalRgbGraphicsItem(dataset, parent=None, scene=None, **kwargs)[source]

Bases: gsdview.gdalbackend.gdalqt4.BaseGdalGraphicsItem

Type = 1004
paint(painter, option, widget)[source]
class gsdview.gdalbackend.gdalqt4.UIntGdalGraphicsItem(band, parent=None, scene=None, **kwargs)[source]

Bases: gsdview.gdalbackend.gdalqt4.BaseGdalGraphicsItem

GDAL graphics item specialized for 8 and 16 it unsigned integers.

Uses an unchecked LUT for transformations.

Type = 1002
dataRange(data=None)[source]
paint(painter, option, widget)[source]
gsdview.gdalbackend.gdalqt4.gdalcolorentry2qcolor(colrentry, interpretation=1)[source]
gsdview.gdalbackend.gdalqt4.graphicsItemFactory(gdalobj, parent=None, scene=None)[source]

Factory function for GDAL graphics items.

Instantiates on object of the GDAL graphics item class taht best fits the gdalobj passed as argument.

gsdview.gdalbackend.gdalqt4.safeDataStats(data, nodata=None)[source]

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

Previous topic

gsdview.gdalbackend.gdalexectools

Next topic

gsdview.gdalbackend.gdalsupport

This Page