#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)
Change History (3)
by , 16 years ago
Attachment: | gdaltindex.txt added |
---|
comment:1 by , 16 years ago
Priority: | highest → normal |
---|---|
Resolution: | → invalid |
Status: | new → closed |
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 , 16 years ago
Component: | GDAL_Raster → ConfigBuild |
---|
gdaltindex command