Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/core/raster/qgsrasterlayerrenderer.cpp
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
2 people authored and github-actions[bot] committed May 24, 2023
1 parent 6e2ea7a commit 2ecfe97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayerrenderer.cpp
Expand Up @@ -483,7 +483,7 @@ void QgsRasterLayerRenderer::drawElevationMap()

Qgis::DataType dataType = dataProvider->dataType( mElevationBand );

if ( dataType != Qgis::DataType::UnknownDataType ) // resampling data by GDAL is not coptible with unknown data type
if ( dataType != Qgis::DataType::UnknownDataType ) // resampling data by GDAL is not compatible with unknown data type
{
// we need extra pixels on border to avoid effect border with resampling (at least 2 pixels band for cubic alg)
int sourceWidth = viewWidth + 4;
Expand Down

0 comments on commit 2ecfe97

Please sign in to comment.