VRT opens datasets for GetMinimum() call
|Reported by:||warmerdam||Owned by:||warmerdam|
The current implementation of VRTSourcedRasterBand::GetMinimum() will call GetMinimum() on each of the sourced datasets which forces them to be opened when that would not otherwise have been required. This is undesirable behavior (IMHO) as it makes something like a gdalinfo on a VRT catalog unbearably expensive. A significant part of the goal of VRTs with many sources is to only touch those needed.