mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a84383379b
commit
c71a45a41d
@ -727,14 +727,14 @@ void TestQgsRasterCalculator::testOutputCrsFromRasterEntries()
|
||||
|
||||
QVector<QgsRasterCalculatorEntry> entries;
|
||||
entries << entry1;
|
||||
|
||||
|
||||
QgsRectangle extent( 783235, 3348110, 783350, 3347960 );
|
||||
|
||||
|
||||
QTemporaryFile tmpFile;
|
||||
tmpFile.open(); // fileName is not available until open
|
||||
QString tmpName = tmpFile.fileName();
|
||||
tmpFile.close();
|
||||
|
||||
|
||||
QgsRasterCalculator rc( QStringLiteral( "\"landsat@0\"" ), tmpName, QStringLiteral( "GTiff" ), extent, 2, 3, entries, QgsProject::instance()->transformContext() );
|
||||
QCOMPARE( static_cast<int>( rc.processCalculation() ), 0 );
|
||||
//open output file and check results
|
||||
|
Loading…
x
Reference in New Issue
Block a user