<div dir="ltr">I'm working on using the gdal2tiles to convert a mosaic of ECW files into TMS format.<div>Since the gdal2tiles command needs a single input file, I'm building VRT's to use as the input.</div><div>I have gotten this to work on ons set of files.  When I do the same commands for the second set of files, gdalbuildvrt seems confused on how to handle things.</div><div><br></div><div>If I do it straight via commandline as:</div><div>for %f in (input\*.ecw) do (gdalbuildvrt output.vrt %f)</div><div>I wind up with a VRT with only one of the several hundred files in it.</div><div>if I try it using a file list by first:</div><div>for %f in (input\*.ecw) do (echo %f >> filelist.txt)</div><div>then:</div><div>gdalbuildvrt -input_file_list filelist.txt output.vrt</div><div>I get a bunch of errors saying:</div><div>ERROR 4: `ecw\N39.250W119.500N39.375W119.375.ecw ' not recognized as a supported file format.</div><div>if I do a gdalinfo on the same file, it correctly indicates the file format and metadata for the file. abd gdalinfo --formats does list ECW as an installed file format.</div><div>I've also compared the gdalinfo between the two input datasets (the one that worked and the one that doesn't) and they seem comparable.</div><div><br></div><div>I've uploaded a sample tile from the working and non-working set:</div><div>non-working: <a href="https://www.dropbox.com/s/w980slpwm2ojsrr/N37.375W118.500N37.500W118.375.ecw?dl=0">https://www.dropbox.com/s/w980slpwm2ojsrr/N37.375W118.500N37.500W118.375.ecw?dl=0</a></div><div>working: <a href="https://www.dropbox.com/s/ibludciald8z8p3/NAIP_FL_2017_N24.375W080.250N24.500W080.125.ecw?dl=0">https://www.dropbox.com/s/ibludciald8z8p3/NAIP_FL_2017_N24.375W080.250N24.500W080.125.ecw?dl=0</a></div><div><br></div><div>Any help is appreciated.</div></div>