Skip to content
Permalink
Browse files

Don't use deprecated fileWriter.writeRaster

  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2019
1 parent 56a6df4 commit 6372295df1f9feb73b3ccc55820f8b67e05503ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wcs/qgswcsgetcoverage.cpp
@@ -208,7 +208,7 @@ namespace QgsWcs
}
}

QgsRasterFileWriter::WriterError err = fileWriter.writeRaster( &pipe, width, height, rect, responseCRS );
QgsRasterFileWriter::WriterError err = fileWriter.writeRaster( &pipe, width, height, rect, responseCRS, rLayer->dataProvider()->transformContext() );
if ( err != QgsRasterFileWriter::NoError )
{
throw QgsRequestNotWellFormedException( QStringLiteral( "Cannot write raster error code: %1" ).arg( err ) );

0 comments on commit 6372295

Please sign in to comment.
You can’t perform that action at this time.