Skip to content

Commit

Permalink
Merge pull request #11480 from dbaston/doc-warp-multiple-inputs
Browse files Browse the repository at this point in the history
Doc: Describe gdalwarp behavior with multiple inputs
  • Loading branch information
rouault authored Dec 11, 2024
2 parents 7056838 + 8758282 commit bb23d74
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/source/programs/gdalwarp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,18 @@ of an individual source pixel is determined by the product of the weights
determined for its row and column; the diagonal Cartesian distance is not
calculated.

Multiple input files
--------------------

When multiple inputs are provided to :program:`gdalwarp`, they are processed
independently in the order they are listed. This may introduce edge effects
near the boundaries of the input files, because output pixel values will be
derived from the final input only. To avoid this, non-overlapping input
files may first be combined into a :ref:`VRT file <raster.vrt>` (e.g., using
:ref:`gdalbuildvrt`). This will allow :program:`gdalwarp` to use pixels
from all inputs when calculating output pixel values.


Writing to an existing file
---------------------------

Expand Down

0 comments on commit bb23d74

Please sign in to comment.