Friday, 8 December 2017

gdal - How can I merge geotiffs with a vrt file?


I have heard that I can use a vrt file to merge mulitple geotiffs into one?


what is the syntax? gdal_tranlsate -of VRT file1.tif file2.tif file2.tif


Something like this?



Answer



No, you need to use gdalbuildvrt The instructions on the page are pretty clear, but to save you a mouse click, one of the examples is:


gdalbuildvrt doq_index.vrt doq/*.tif

No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...