Skip to content
Permalink
Browse files

Make sure that rescaling runs with the correct data type

  • Loading branch information
wonder-sk committed Jun 26, 2015
1 parent dbb8cc2 commit bba1985a87d9d71623470ba21f1e6e12e6f1bdd1
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/analysis/raster/qgsalignraster.cpp
@@ -498,6 +498,8 @@ bool QgsAlignRaster::createAndWarp( const Item& raster )
psWarpOptions->pfnPostWarpChunkProcessor = rescalePostWarpChunkProcessor;
psWarpOptions->pPreWarpProcessorArg = rescaleArg;
psWarpOptions->pPostWarpProcessorArg = rescaleArg;
// force use of float32 data type as that is what our pre/post-processor uses
psWarpOptions->eWorkingDataType = GDT_Float32;
}

// Initialize and execute the warp operation.

0 comments on commit bba1985

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