Subgroup: other
Class: QgsGridFileWriter¶
-
class
qgis.analysis.
QgsGridFileWriter
(interpolator: QgsInterpolator, outputPath: str, extent: QgsRectangle, nCols: int, nRows: int)¶ Bases:
sip.wrapper
Constructor for QgsGridFileWriter, for the specified
interpolator
.The
outputPath
argument is used to set the output file path.The
extent
andnCols
,nRows
arguments dictate the extent and size of the output raster.QgsGridFileWriter(QgsGridFileWriter)
-
writeFile
(self, feedback: QgsFeedback = None) → int¶ Writes the grid file.
An optional
feedback
object can be set for progress reports and cancelation supportReturns: 0 in case of success
-