[gdal-dev] Non able to manage properly vitual file, warping and black edges

Even Rouault even.rouault at spatialys.com
Mon Jan 22 08:56:05 PST 2024


Le 22/01/2024 à 17:53, andy via gdal-dev a écrit :
> Hi,
> I have four tif input files, these have 3 bands RGB and are JPEG 
> compressed.
> No null data set.
>
> My goal is to mosaic these and then warp the mosaic.
>
> I start it with:
>
> gdalbuildvrt mosaic.vrt file1.tif file2.tif file3.tif file4.tif

Try adding a -addalpha so that the mosaic.vrt is created with an alpha 
band which equals to 0 in gaps between your source tiles. The rest of 
your procedure should be fine

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240122/25cf1ac5/attachment.htm>


More information about the gdal-dev mailing list