15 #ifndef QGSRASTERFILEWRITER_H
16 #define QGSRASTERFILEWRITER_H
22 #include <QDomDocument>
23 #include <QDomElement>
26 class QProgressDialog;
43 SourceProviderError = 1,
44 DestProviderError = 2,
45 CreateDatasourceError = 3,
105 int nCols,
int nRows,
109 QList<bool> destHasNoDataValueList,
110 QList<double> destNoDataValueList,
112 QProgressDialog* progressDialog );
128 bool writeVRT(
const QString&
file );
130 void addToVRT(
const QString& filename,
int band,
int xSize,
int ySize,
int xOffset,
int yOffset );
131 void buildPyramids(
const QString& filename );
135 int iterLeft,
int iterTop,
136 const QString& outputUrl,
int fileIndex,
int nBands,
QGis::DataType type,
152 QList<bool> destHasNoDataValueList = QList<bool>(), QList<double> destNoDataValueList = QList<double>() );
155 void globalOutputParameters(
const QgsRectangle& extent,
int nCols,
int& nRows,
double* geoTransform,
double& pixelSize );
157 QString partFileName(
int fileIndex );
158 QString vrtFileName();
162 QString mOutputProviderKey;
163 QString mOutputFormat;
164 QStringList mCreateOptions;
169 double mMaxTileWidth;
170 double mMaxTileHeight;
172 QList< int > mPyramidsList;
173 QString mPyramidsResampling;
176 QStringList mPyramidsConfigOptions;
178 QDomDocument mVRTDocument;
179 QList<QDomElement> mVRTBands;
181 QProgressDialog* mProgressDialog;
187 #endif // QGSRASTERFILEWRITER_H