[osgeo4w-dev] [osgeo4w] #574: gdalbuildvrt fails handling wildcards under Win10 1803

OSGeo4W trac_osgeo4w at osgeo.org
Sat Jul 14 09:12:59 PDT 2018


#574: gdalbuildvrt fails handling wildcards under Win10 1803
------------------------+----------------------------
Reporter:  Langlaeufer  |       Owner:  osgeo4w-dev@…
    Type:  defect       |      Status:  new
Priority:  major        |   Component:  Package
 Version:               |  Resolution:
Keywords:  GDAL,        |
------------------------+----------------------------

Comment (by hellik):

 Replying to [comment:2 deezx]:
 > I have the same issue with gdalbuildvrt using Win10 (1803)
 >
 > On my machine building the VRT **fails only for the first file of the
 folder in wildcard matching**, other files in same folder are added to the
 VRT. So if I have four tiles in a foulder, the first file produces an
 error, but the other tree files are added. The first file fails, because
 the first filename matching the wildcard is **truncated to a single
 char**, e.g. if the file is **folder/abc.tif** the wildcard
 **folder/*.tif** produces the following error:
 >
 >     ERROR 4: folder\a: No such file or directory
 >     Warning 1: Can't open folder\a. Skipping it
 >
 > Issue affects all current Windows versions of QGIS (2.18.21, 3.2.0)
 using GDAL 2.2.4 from OSGEO4W build, in Windows 10 (1803), 64bit.
 >
 > see:
 > https://github.com/OSGeo/gdal/issues/568
 > https://issues.qgis.org/issues/19192

 according to this [https://lists.osgeo.org/pipermail/gdal-
 dev/2011-February/027941.html mail]

 {{{
 SETARGV =       $(VCDIR)\lib\setargv.obj
 }}}

 has to be activated in nmake.opt.

 looking the
 [https://download.osgeo.org/osgeo4w/x86_64/release/gdal/gdal-2.2.4-1-src.tar.bz2
 GDAL's OSGeo4W receipe]

 ''nmake64.opt'':

 {{{
 [...]
 SETARGV                 = "$(VCDIR)\lib\amd64\setargv.obj"
 [...]
 }}}

 is activated OSGeo4W's GDAL.

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/574#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list