Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2355 closed defect (invalid)

gdaltindex: wildcard filename does not work.

Reported by: cchung Owned by: warmerdam
Priority: normal Milestone:
Component: ConfigBuild Version: 1.5.0
Severity: major Keywords: gdaltindex
Cc:

Description

Hi, I am pretty new using GDAL.

I cannot get "gdaltindex" executable work with wildcard file name. Please see the attached file and tell me what I am doing wrong or is it a bug?

It fails with "does not exist in the file system, and is not recognised as a supported dataset name." error message.

It works if I specify an individual file name.

Thanks in advance.

Charles Chung

Attachments (1)

gdaltindex.txt (3.3 KB ) - added by cchung 16 years ago.
gdaltindex command

Download all attachments as: .zip

Change History (3)

by cchung, 16 years ago

Attachment: gdaltindex.txt added

gdaltindex command

comment:1 by warmerdam, 16 years ago

Priority: highestnormal
Resolution: invalid
Status: newclosed

For wildcard arguments to work on the windows command shell you must link against setargv.obj in the visual studio tree. As per this section in nmake.opt:

# Location of Visual C++ directory (only required for following SETARGV stuff)
VCDIR   = 	D:\Software\VStudio\VC98

# Enable the following if VCDIR set properly, and you want the utility
# programs to be able to expand wildcards. 
#SETARGV =	"$(VCDIR)\lib\setargv.obj"

Alternatively you can use a command shell (such as cygwin) that does commandline expansion for programs.

comment:2 by warmerdam, 16 years ago

Component: GDAL_RasterConfigBuild
Note: See TracTickets for help on using tickets.