<br clear="all">Hi, all:<br>I'm having an error while using function Dataset.BuildOverviews in my code.<br>The error message is "BuildOverviews() not supported for this dataset".<br>However, when I used the ".tif" file the BuildOverviews worked just fine. The<br>
code is:<br>int[] pOverviewList = { overView*2};<br>int[] pBandList = new int[dataset.RasterCount];<br>int err = dataset.BuildOverviews("NEAREST", pOverviewList);<br>if (err != (int)CPLErr.CE_None)<br> return null;<br>
I'm using GDAL1.5.2 and C#2.0. Is it because the HFA driver doesn't support<br>overview? Or is it a bug? Can anyone pointed out where is my problem? Thanks a<br>lot!<br>-- <br>
<div>Zhenyu Lu</div>
<div>SUNY-ESF</div><br>