-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gdalbuildvrt doesn't process multiple files using wildcard #1749
Comments
CC @szekerest @jef |
Rings a bell: #568 (and qgis/QGIS#27021). OSGeo4W is using VC2015 for GDAL and setargv.obj and doesn't show the issue as far as I can tell. |
I have encountered this issue as well using the binaries from GISInternals, the only workaround is to create a file list and then pass that as a parameter to gdalbuildvrt. Be great if this could be resolved |
I just noticed that unfortunately gdaltindex suffers from the same issue. Is this something that should be corrected on GDAL side or in the gisinternals build process? |
Did you try with recent OSGeo4W ? |
Oh yes, GDAL 2.4.1, released 2019/03/15 from OSGeo4W works fine with *.tif. |
So might be a gisinternals specific thing |
It's my case as well. Is it really hard to fix that I could not install OSGeo4w? |
What do you mean?
|
I believe that @rafaleo meant that for some reason he can't use GDAL from OSGeo4W. The error seems to be in the buildsystem at gisinternals.com and therefore this GDAL ticket should perhaps be closed already. On the other hand, for Windows users the OSGeo4W.org and gisinternals.com are the places where GDAL is coming. Because we are now chatting here, I wish that @jef-n and @szekerest could find some time to have a look at https://github.com/gisinternals/buildsystem/blob/master/Makefile, if that is where the issue should be fixex. I see this in the makefile
Should it be nowadays as in the commit by @rouault ? |
OSGeo4W is apparently using the same settings (http://download.osgeo.org/osgeo4w/x86_64/release/gdal/gdal-3.0.4-2-src.tar.bz2 : osgeo4w/nmake{32,64}.opt) |
I tested all 4 versions from http://gisinternals.com/development.php Both versions (32 and 64 bit) compiled with MSVC 2015 are OK. |
Closing. Seems to be a binary distribution issue, not a source one |
Has someone a solution to this problem ? |
Asking questions through comments of a closed issue may not get much attraction always. OSGeo4W is the build that has been working and still works for me. Please test OSGeo4W again and verify that you have MSVS 2015 build from gisinternals. If you still have problems report them as issues to corresponding projects. There should be already an open issue in gisinternals.com bug tracker and you can add your comments to it. |
Hey, |
Our mailing list for both users and developers is gdal-dev https://lists.osgeo.org/mailman/listinfo/gdal-dev and that list has probably hundreds of readers. But users do not really need to know that the wildcard issue is not a bug in GDAL but elsewhere and what is most important is that you managed to install a version that accepts wildcards. If you installed GDAL with the zip file from gisinternals then the sdkshell.bat batch file in the root directory should set paths for you. |
Expected behavior and actual behavior.
I want to create
.vrt
file from all.tif
s in directory using wildcard in arguments, but I get errors:ERROR 4: '../*.tif' does not exist in the file system, and is not recognized as a supported dataset name. Warning 1: Can't open ../*.tif. Skipping it
Steps to reproduce the problem.
Here's the string that I run:
./gdalbuildvrt ../test.vrt ../*.tif
Operating system
Windows 7 x64/Windows 10 x64
GDAL version and provenance
I've run several tests, and here's the list where that feature worked, and where it didn't:
2.1.3 - work
2.2.3 - work
2.3.0 - work
2.3.1 - work
2.3.2 - fail
2.3.3 - fail
2.4.0 - fail
2.4.1 - fail
2.4.2 - fail
3.0.0 - fail
Daily dev build - fail
All the binaries were taken from GISInternals.
Judging by gdalbuildvrt examples that should still work.
The text was updated successfully, but these errors were encountered: