[gdal-dev] Question of file ordering in VRT
Ivan Lucena
ivan.lucena at outlook.com
Thu Mar 7 08:52:24 PST 2019
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 <gdal-dev-bounces at lists.osgeo.org> on behalf of Even Rouault <even.rouault at spatialys.com>
Sent: Thursday, March 7, 2019 8:43 AM
To: gdal-dev at lists.osgeo.org
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
gdal-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190307/fd0b952d/attachment.html>
More information about the gdal-dev
mailing list