[gdal-dev] GDALDriver::CopyFiles
Limei Ran
lran at unc.edu
Mon Mar 24 14:24:32 EDT 2008
Hi:
I am using GDALDriver::CopyFiles in our cpp program to copy an image
file in HFA format. But, the old file has three file list:
File list 0 =
/nas/uncch/depts/cep/emc/lran/nlcd2001/nlcd/landcover1_3k_022007.img
File list 1 =
/nas/uncch/depts/cep/emc/lran/nlcd2001/nlcd/landcover1_3k_022007.img.aux.xml
File list 2 =
/nas/uncch/depts/cep/emc/lran/nlcd2001/nlcd/landcover1_3k_022007.rrd
CopyFiles failed with error:
ERROR 1: Unable to rename fileset due irregular basenames.
I found that it was failed in CPLGetBasename function due to
landcover1_3k_022007.img.aux.xml file name.
Does GDAL use landcover1_3k_022007.img.aux.xml file? Or, Can I delete it?
Thanks,
Limei
More information about the gdal-dev
mailing list