QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
The raster file writer which allows you to save a raster to a new file. More...
#include <qgsrasterfilewriter.h>
Public Types | |
enum | Mode { Raw = 0, Image = 1 } |
enum | WriterError { NoError = 0, SourceProviderError = 1, DestProviderError = 2, CreateDatasourceError = 3, WriteError = 4, NoDataConflict = 5 } |
The raster file writer which allows you to save a raster to a new file.
Definition at line 32 of file qgsrasterfilewriter.h.
Enumerator | |
---|---|
Raw | |
Image |
Definition at line 35 of file qgsrasterfilewriter.h.
Enumerator | |
---|---|
NoError | |
SourceProviderError | |
DestProviderError | |
CreateDatasourceError | |
WriteError | |
NoDataConflict |
Definition at line 40 of file qgsrasterfilewriter.h.
QgsRasterFileWriter::QgsRasterFileWriter | ( | const QString & | outputUrl | ) |
Definition at line 29 of file qgsrasterfilewriter.cpp.
|
inline |
Definition at line 75 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 91 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 88 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 73 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 64 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 67 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 94 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 84 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 78 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 81 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 76 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 90 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 87 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 72 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 63 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 66 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 93 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 85 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 79 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 82 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 69 of file qgsrasterfilewriter.h.
|
inline |
Definition at line 70 of file qgsrasterfilewriter.h.
QgsRasterFileWriter::WriterError QgsRasterFileWriter::writeRaster | ( | const QgsRasterPipe * | pipe, |
int | nCols, | ||
int | nRows, | ||
QgsRectangle | outputExtent, | ||
const QgsCoordinateReferenceSystem & | crs, | ||
QProgressDialog * | p = nullptr |
||
) |
Write raster file.
pipe | raster pipe |
nCols | number of output columns |
nRows | number of output rows (or -1 to automatically calculate row number to have square pixels) |
outputExtent | extent to output |
crs | crs to reproject to |
p | dialog to show progress in |
Definition at line 62 of file qgsrasterfilewriter.cpp.