<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div>
<div>
<div>
<div style="direction: ltr;">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</div>
</div>
<div><br>
</div>
<div class="ms-outlook-ios-signature">Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
</div>
<div> </div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="dir="ltr""><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gdal-dev <gdal-dev-bounces@lists.osgeo.org> on behalf of Even Rouault <even.rouault@spatialys.com><br>
<b>Sent:</b> Thursday, March 7, 2019 8:43 AM<br>
<b>To:</b> gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> Re: [gdal-dev] Question of file ordering in VRT
<div> </div>
</font></div>
On jeudi 7 mars 2019 11:30:04 CET Stephen Woodbridge wrote:<br>
> Hi all,<br>
> <br>
> When I have multiple overlapping files in VRT which pixel takes<br>
> president? I'm assuming that the later files in the VRT would be the one<br>
> presented. For example, I have multiple satellite images with names like<br>
> YYYYMMDDHHMM-.....tif so when I use<br>
> <br>
> gdalbuiltvrt YYYYMMDD.vrt YYYYMMDD*.tif<br>
> <br>
> and then view that, in say mapserver, am I seeing the newest images or<br>
> the oldest image when 2+ images overlap in any given area?<br>
<br>
Steve,<br>
<br>
The last source mentionned in the VRT will take precedence over the previous <br>
overlapping ones.<br>
<br>
I'm not sure however that the wildcard expansion will guarantee that the files <br>
will be sorted.<br>
<br>
Even<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
http://www.spatialys.com<br>
_______________________________________________<br>
gdal-dev mailing list<br>
gdal-dev@lists.osgeo.org<br>
https://lists.osgeo.org/mailman/listinfo/gdal-dev</div>
</body>
</html>