Even Rouault wrote:
> 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
> 
> and then use band.ds to get access to the dataset...

Ah, of course.  Thanks for helping me to see it.

matt
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to