[gdal-dev] gdalbuildvrt overwrite always the vrt file

Andrea Peri aperi2007 at gmail.com
Mon Aug 24 03:34:57 PDT 2015


Hi,

I try to create a vrt-datasource using this sintax:

gdalbuildvrt /path-to/dataset.vrt \
    /path-ti-tiffs/tiff_1.tif

It was correctly created.

After,
I do this other command:

gdalbuildvrt /path-to/dataset.vrt \
    /path-ti-tiffs/tiff_2.tif

The new dataset.vrt I notice is containing the only tiff-2 file and
lost the tiff-1 file.

More probably I miss something,
infact the documention of the gdalbuildvrt report a parameter:
"-overwrite" that mean:

>Overwrite the VRT if it already exists.

So I guess , without this option, the gdalbuildvrt should append the
tiff-2 and maintain the tiff-1 or alternatively raise an exception,
but not overwrite however the file.

I understand correctly ?

Thx.


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the gdal-dev mailing list