Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2148 closed enhancement (fixed)

Add GDALRasterBand::ComputeRasterMinMax() method

Reported by: dron Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc: dron

Description

I would like to convert GDALComputeRasterMinMax() function into the wrapper around appropriate GDALRasterBand::ComputeRasterMinMax() method, just like it is done for GDALComputeRasterStatistics()/GDALRasterBand::ComputeStatistics() pair. It is much better to have the clean C++ API and not cast the GDALRasterBand pointer to GDALRasterBandH type for usage in GDALComputeRasterMinMax() function.

I am ready to do this change if there will be no objections.

Best regards, Andrey

Change History (3)

comment:1 by warmerdam, 16 years ago

Andrey,

It seems fine to me as long as the signature of the C function does not change. This should only be done in trunk though.

comment:2 by dron, 16 years ago

Cc: dron added
Resolution: fixed
Status: newclosed

I have made proposed changes with r13526 and r13527 revisions. GDALGetRasterSampleOverview() has been converted into GDALRasterBand class method in addition to GDALComputeRasterMinMax().

Best regards, Andrey

comment:3 by dron, 16 years ago

This is just a test, please, ignore this comment.

Note: See TracTickets for help on using tickets.