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

Change History (1)

comment:1 by Even Rouault, 13 years ago

Resolution: fixed
Status: newclosed

I tried to reproduce but didn't manage. Perhaps fixed by 21583. Closing. Reopen if it still occurs

Note: See TracTickets for help on using tickets.