Zhenyu Lu wrote:
Hi, Even:
I have used the tool you mentioned. There is a gdaladdo utility in
GDAL1.5.2. But still it didn't work with the .img file in my computer.
Then I realized that since I've used these .img files in ArcGIS and
Erdas before. These software must automatically create the .rrd files.
That explains why I can't use the following code
"dataset.BuildOverviews("NEAREST", pOverviewList);".
It turns out to be that the reason why the ".tif" file works using the
previous code is because there is a .aux file together with the .rrd
file. It seems that the .aux file can be both read and written.
Thanks a lot for all the help and information.
Hi,
Indeed this is likely to be a situation where the behavior is confusing. It
may well be better handled with the most recent code. If you find things
still do not seem to work in a reasonable way with the current (trunk) code
please feel free to file a bug report.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev