[gdal-dev] gdalbuildvrt files not recognized

Mateusz Loskot mateusz at loskot.net
Thu Feb 4 14:17:11 PST 2021


On Thu, 4 Feb 2021, 23:02 Simon Shak, <skunkmyrddyn at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210204/9a3dfe92/attachment-0001.html>


More information about the gdal-dev mailing list