gdal.RasterBandOverviews
An encapsulation of a RasterBand overview functionality.
Table of Contents
Methods
count
		()
		
			Integer
		
	Returns the number of overviews.
Returns:
forEach
		- 
						
callback 
Iterates through all overviews using a callback function.
Parameters:
- 
						
callbackFunction 
Example:
band.overviews.forEach(function(overviewBand, i) { ... });`
			Fetches the overview at the provided index.
Parameters:
- 
						
indexInteger0-based index
 
Returns:
Fetch best sampling overview.
Returns the most reduced overview of the given band that still satisfies the desired number of samples. This function can be used with zero as the number of desired samples to fetch the most reduced overview. The same band as was passed in will be returned if it has not overviews, or if none of the overviews have enough samples.
Parameters:
- 
						
samplesInteger 
Returns:
map
		- 
						
callback 
Iterates through all raster overviews using a callback function and builds an array of the returned values.
Parameters:
- 
						
callbackFunctionThe callback to be called with each Geometry
 
Example:
var result = band.overviews.map(function(overviewBand, i) {
    return value;
});`