That’s depend on how the OS sort the file names. Windows for example does some weird stuff. It might be better to build your list files and pass it as a parameter instead of relay on *.tif
Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: gdal-dev <[email protected]> on behalf of Even Rouault <[email protected]> Sent: Thursday, March 7, 2019 8:43 AM To: [email protected] Subject: Re: [gdal-dev] Question of file ordering in VRT On jeudi 7 mars 2019 11:30:04 CET Stephen Woodbridge wrote: > Hi all, > > When I have multiple overlapping files in VRT which pixel takes > president? I'm assuming that the later files in the VRT would be the one > presented. For example, I have multiple satellite images with names like > YYYYMMDDHHMM-.....tif so when I use > > gdalbuiltvrt YYYYMMDD.vrt YYYYMMDD*.tif > > and then view that, in say mapserver, am I seeing the newest images or > the oldest image when 2+ images overlap in any given area? Steve, The last source mentionned in the VRT will take precedence over the previous overlapping ones. I'm not sure however that the wildcard expansion will guarantee that the files will be sorted. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
