Subgroup: Raster
Class: QgsRasterResampleFilter¶
-
class
qgis.core.
QgsRasterResampleFilter
¶ Bases:
qgis._core.QgsRasterInterface
Resample filter pipe for rasters.
Methods
bandCount
bandStatistics
Get band statistics. block
capabilities
Returns a bitmask containing the supported capabilities capabilitiesString
Returns the above in friendly format. clone
cumulativeCut
Find values for cumulative pixel count cut. dataType
dataTypeSize
extent
Get the extent of the interface. generateBandName
helper function to create zero padded band names hasHistogram
Returns true if histogram is available (cached, already calculated) hasStatistics
Returns true if histogram is available (cached, already calculated). histogram
Get histogram. initHistogram
initStatistics
input
Current input maxOversampling
on
Is on/off readXml
Sets base class members from xml. setInput
setMaxOversampling
setOn
Set on/off setZoomedInResampler
Set resampler for zoomed in scales. setZoomedOutResampler
Set resampler for zoomed out scales. sourceDataType
Returns source data type for the band specified by number, sourceInput
Get source / raw input, the first in pipe, usually provider. writeXml
xBlockSize
Get block size xSize
Get raster size yBlockSize
ySize
zoomedInResampler
zoomedOutResampler
Attributes
BuildPyramids
Create
Identify
IdentifyFeature
IdentifyHtml
IdentifyText
IdentifyValue
NoCapabilities
Remove
Size
-
bandCount
(self) → int¶
-
block
(self, bandNo: int, extent: QgsRectangle, width: int, height: int, feedback: QgsRasterBlockFeedback = None) → QgsRasterBlock¶
-
clone
(self) → QgsRasterResampleFilter¶
-
dataType
(self, bandNo: int) → Qgis.DataType¶
-
initHistogram
()¶
-
initStatistics
()¶
-
maxOversampling
(self) → float¶
-
readXml
(self, filterElem: QDomElement)¶ Sets base class members from xml. Usually called from create() methods of subclasses
-
setInput
(self, input: QgsRasterInterface) → bool¶
-
setMaxOversampling
(self, os: float)¶
-
setZoomedInResampler
(self, r: QgsRasterResampler)¶ Set resampler for zoomed in scales. Takes ownership of the object
-
setZoomedOutResampler
(self, r: QgsRasterResampler)¶ Set resampler for zoomed out scales. Takes ownership of the object
-
writeXml
(self, doc: QDomDocument, parentElem: QDomElement)¶
-
zoomedInResampler
(self) → QgsRasterResampler¶
-
zoomedOutResampler
(self) → QgsRasterResampler¶
-