Skip to content
Permalink
Browse files

Pyramids problem GDAL ticket

  • Loading branch information
blazek committed Sep 27, 2012
1 parent 09bc1b2 commit 8a4c7bbe2a4bb0e6231cac8473325ccd9315fd4c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/gdal/qgsgdalprovider.cpp
@@ -1450,7 +1450,8 @@ QString QgsGdalProvider::buildPyramids( QList<QgsRasterPyramid> const & theRaste
myProg.provider = this;
// Observed problem: if a *.rrd file exists and GDALBuildOverviews() is called,
// the *.rrd is deleted and no overviews are created, if GDALBuildOverviews()
// is called next time, it crashes somewhere in GDAL.
// is called next time, it crashes somewhere in GDAL:
// https://trac.osgeo.org/gdal/ticket/4831
// Crash can be avoided if dataset is reopened
myError = GDALBuildOverviews( mGdalBaseDataset, theMethod,
myOverviewLevelsVector.size(), myOverviewLevelsVector.data(),

0 comments on commit 8a4c7bb

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