Am 24.09.2015 um 16:43 schrieb Jonathan Greenberg:
Folks:
Is it possible to create a vrt comprised of other vrts? For a mosaicking
problem, say I want to first trim the margins of the individual tiles by a
certain number of pixels -- I can, of course, gdal_translate this but this
adds a bunch of new files/processing time -- can I use gdalbuildvrt to
first set a new te for each individual tile, and then feed these vrts into
another gdalbuildvrt for mosaicking them?
I did something similar to mosaic cadastral maps for gdal2tiles:
for %%N in (D:\Karten\gdal\gdal2tiles\NL25\*.tif) DO gdal_translate -of
vrt -expand rgba %%N D:\Karten\gdal\gdal2tiles\NL25\%%~nN.vrt
gdalbuildvrt -allow_projection_difference index25.vrt NL25\*.vrt
The first step expands paletted colours to RGB into one vrt per source
file, the second mosaics them together.
HTH,
André Joost
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev