> No, there's no direct way of doing it with an API call. But as you can only > get a Band from a Dataset, you can easily do something like : > > band = ds.GetRasterBand(xxx) > band.ds = ds
Do we really need this? As far as I remember band must be in the same context of dataset (dataset can't go out of scope), so why would we need a reference to it? best regards P -- Paolo Corti GIS specialist and web developer web: http://www.paolocorti.net twitter: @paolo_corti _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev