On Thu, 4 Feb 2021, 23:02 Simon Shak, <skunkmyrd...@gmail.com> wrote:
> > If I do it straight via commandline as: > for %f in (input\*.ecw) do (gdalbuildvrt output.vrt %f) > I wind up with a VRT with only one of the several hundred files in it. > Yes, that's expected, isn't it. if I try it using a file list by first: > for %f in (input\*.ecw) do (echo %f >> filelist.txt) > then: > gdalbuildvrt -input_file_list filelist.txt output.vrt > I assume you've read the docs, why don't you feed it with input/*.ecw directly. I get a bunch of errors saying: > ERROR 4: `ecw\N39.250W119.500N39.375W119.375.ecw ' not recognized as a > supported file format. > I'd verify content of the file is single file name per line. It may matter the EOL is LF, not CRLF, can't remember. ML
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev