Chaitanya,
Yes, this method would certainly work! My private suggestion
to Greg was that he use the gdal_merge.py script with the -separate
switch which stacks input files as bands in a merged file.
But the VRT method would also work well.
Best regards,
Chaitanya kumar CH wrote:
Dear Greg,
I am new here. So correct me if I am wrong.
Try using Virtual Format files. More info at
http://www.gdal.org/gdal_vrttut.html
You should be able to create a VRTRasterBand for each band with the
corresponding source.
gtif_RGB.vrt would look something like this...
<VRTDataset rasterXSize="1172" rasterYSize="1864">
<VRTRasterBand dataType="Byte" band="1">
<SourceFilename relativetoVRT="1">gtif_R.tif</SourceFilename>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="2">
<SourceFilename relativetoVRT="1">gtif_G.tif</SourceFilename>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="3">
<SourceFilename relativetoVRT="1">gtif_B.tif</SourceFilename>
</VRTRasterBand>
</VRTDataset>
--
Chaitanya kumar CH.
Greg Coats wrote:
I have 3 single band GeoTIF images of the same geographic area: one
for the Red band, one for the Green band, and one for the Blue band,
gtif_R.tif, gtif_G.tif, gtif_B.tif. Please, what is the
gdal_translate syntax http://www.gdal.org/gdal_translate.html to
combine these 3 single band GeoTIF images into 1 three band RGB
GeoTIF image, gtif_RGB.tif?
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev