-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f346bc6
commit d9df7a2
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# gdalbuildvrt | ||
|
||
> Build Virtual Datasets from a list of existing datasets. | ||
> More information: <https://gdal.org/programs/gdalbuildvrt.html>. | ||
- Make a virtual mosaic from all TIFF files contained in a directory: | ||
|
||
`gdalbuildvrt {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}` | ||
|
||
- Make a virtual mosaic from files whose name is specified in a text file: | ||
|
||
`gdalbuildvrt -input_file_list {{path/to/list.txt}} {{path/to/output.vrt}}` | ||
|
||
- Make a RGB virtual mosaic from 3 single-band input files: | ||
|
||
`gdalbuildvrt -separate {{path/to/rgb.vrt}} {{path/to/red.tif}] {{path/to/green.tif}} {{path/to/blue.tif}}` | ||
|
||
- Make a virtual mosaic with blue background colour (RGB: 0 0 255): | ||
|
||
`gdalbuildvrt -hidenodata -vrtnodata "{{0 0 255}}" {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}` |