On 11-02-09 04:10 PM, Roland Duhaime wrote:
I am using gdal2tiles under OSGEO4W. I use both gdal16 and gdal17. When I have a large HFA file I am not able to use gdal2tiles to process this file. These large .img (HFA) files have a spill file with a .ige extension. I receive an error similar to: 0ERROR 4: Unable to open external data file:z38null_rgb.ige (Note that this is not a name I specified)
Roland, I imagine your .img and .ige file were renamed at some point and the .img file still has a reference to the original .ige file inside. One option might be to rename the .img to z38null_rgb.img and the .ige file to z38null_rgb.ige. Alternatively, you could use the default "gdal" package which is now GDAL 1.8 and has improved logic for handling referenced filename problems. It should fallback to assuming the same basename if the internal filename is wrong.
My source .img file has a name simlar to: cape_impervious_mosaic_setnull_rgb.img As a workaround I rename just the Erdas Spill file to z38null_rgb.ige and the gdal2tiles command runs without error.
Ah, I see you already have a work around. Excellent. Note that now that the default "gdal" package is 1.8, there should be few reasons to use the non-default version packages "gdal16" and "gdal17" in OSGeo4W. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com 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 gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev