[gdal-dev] Question of file ordering in VRT

Even Rouault even.rouault at spatialys.com
Thu Mar 7 08:42:52 PST 2019


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


More information about the gdal-dev mailing list