Re: [gdal-dev] An error in building overviews for

2010-11-12 Thread Frank Warmerdam
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 .

[gdal-dev] GDALClose MEM

2010-11-12 Thread Radim Blazek
Hi, does the GDALClose function called for MEM driver call free() on the memory passed to the driver as DATAPOINTER param? If so, how to avoid it? Radim ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDALClose MEM

2010-11-12 Thread Frank Warmerdam
Radim Blazek wrote: Hi, does the GDALClose function called for MEM driver call free() on the memory passed to the driver as DATAPOINTER param? If so, how to avoid it? Radim, Internally the driver tries to keep track of whether it owns the referenced memory or not. It looks like if you use a D