[gdal-dev] Question of file ordering in VRT

Stephen Woodbridge stephenwoodbridge37 at gmail.com
Thu Mar 7 10:16:45 PST 2019


Thanks Even and Ivan,

Good idea to build to build the list and use that for gdalbuildvrt.

-Steve

On 3/7/2019 11:42 AM, Even Rouault wrote:
> 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
>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the gdal-dev mailing list