Skip to content

Commit

Permalink
Pyramids problem GDAL ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Sep 27, 2012
1 parent 09bc1b2 commit 8a4c7bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -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(),
Expand Down

0 comments on commit 8a4c7bb

Please sign in to comment.