Narmadha,<br><br>gdal_translate cannot 'stack' multiple images into one. One way is to use gdal_merge.py with the -seperate option to create a single tif file and then use gdal_translate to intorduce the projection with the GCPs.<br>
To make it easy to mention the GCPs to gdal_translate you could use --optfile (refer <a href="http://www.gdal.org/gdal_utilities.html">http://www.gdal.org/gdal_utilities.html</a>) to edit the GCP file into the required format ( <span class="code-string">[-gcp pixel line easting northing [elevation]]*</span> ).<br>
<br>On Mon, Jun 29, 2009 at 5:18 PM, NarmadhaK <span dir="ltr"><<a href="mailto:narmadhapk@gmail.com">narmadhapk@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p>Hi,<br>I am trying to layer stack 7 bands from Raw landsat image.</p>
<p>I have been provided with 7 tif files one for each band
(with no proj)</p>
<p>A separate GCP file (.txt) with nearly 90 GCPs has been
provided too.</p>
<p>I want to input all the GCPs into gdal_translate.</p>
<p>I am using FWTools to work with gdal.</p>
<p>Is there any option to do so?</p>
<p> </p>
<p>Narmadha</p>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all">Best regards,<br>-- <br>Chaitanya kumar CH.<br>