Skip to content

Commit f106a2e

Browse files
committed
Fix handling of warped VRT (refs #12264)
Loading of rasters requiring warped VRTs was broken, but the heatmap plugin is still creating incorrect outputs which needs to be fixed.
1 parent bbe0837 commit f106a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/gdal/qgsgdalprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2486,7 +2486,7 @@ void QgsGdalProvider::initBaseDataset()
24862486
}
24872487
else
24882488
{
2489-
hasGeoTransform = GDALGetGeoTransform( mGdalDataset, mGeoTransform );
2489+
hasGeoTransform = GDALGetGeoTransform( mGdalDataset, mGeoTransform ) == CE_None;
24902490
}
24912491
}
24922492
else

0 commit comments

Comments
 (0)