[gdal-dev] gdal_merge vs gdalbuildvrt

Jorge Arévalo jorge at cartodb.com
Fri Feb 6 10:06:36 PST 2015


Interesting... Thanks for the insights.

And about performance, if I have 1000 JPEG files forming a mosaic, and want
to run gdal tools over that mosaic, which option should I choose?

- Build real merged tif file (gdal_merge)
- Build virtual raster (gdalbuildvrt)

For example, if I want to run gdal_translate over my mosaic, having a
virtual raster would imply reading from 1000 files in disk, while having a
merged tif file would imply reading from just one (much bigger) file.

Which approach would be faster?

On Fri, Feb 6, 2015 at 10:38 AM, Even Rouault <even.rouault at spatialys.com>
wrote:

> >  gdalbuildvrt is a more
> > powerful tool that provides a virtual raster that acts as a 'window'
> > into the
> > input datasets, potentially with reprojection amidst other options.
>
> Small correction: gdalbuildvrt can only deal with datasets of the same
> projection.
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>



-- 
Jorge Arévalo

http://cartodb.com/
Skype ID: jorgecartodb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150206/93aee0b7/attachment.html>


More information about the gdal-dev mailing list