Hello I#m quite new to GDAL. I have some Geotiffs that I want reproject. I tried that with one file and it works great, but because the TIFF has to be slightly rotated for the conversion I have some black areas after that. This is Ok but I have not 1 I have arraound 100 Tiff files and when I built a simple loop with a gdal_warp command for every file I have 100 files with black areas. Is there another command or option where it takes the missing parts from next file ?
Using GDAL at the command line, you can build a virtual raster file to be used by gdalwarp or any other tool:
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 line is only necessary if your data comes with paletted colours.