Opened 16 years ago
Closed 13 years ago
#2287 closed defect (fixed)
GDALDriver::CopyFiles error for .img.aux.xml
Reported by: | lran | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
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 = landcover1.img File list 1 = landcover1.img.aux.xml File list 2 = landcover1.rrd
CopyFiles failed with error: ERROR 1: Unable to rename fileset due irregular basenames.
I found that it was failed in port/cpl_path.cpp CPLGetBasename function due to landcover1.img.aux.xml file name. After I delete this xml file, CopyFiles worked.
Thanks,
Limei
Note:
See TracTickets
for help on using tickets.
I tried to reproduce but didn't manage. Perhaps fixed by 21583. Closing. Reopen if it still occurs