Frank,
It just dawned on me that yesterday I used the following code to open a raster file like so: mDataSource = (GDALDataset*) GDALOpen(filePath.c_str(), GA_ReadOnly); And then used the GDALDefaultOverviews class to embed some overviews into the file. Shouldn't the API prevent that if I opened the file as read only? I initialized the default overviews class using the dataset pointer. I am using GDAL 1.8.1. . I used the BuildOverviews() method of the default overviews class to execute the process. Best regards Martin
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev