Thanks a lot Chaitanya.
It worked well for me.
I gave got what I needed finally
Narmadha
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Narmadha,
The file given with the option --optfile should just contain what the
options should be. It is a way to simplify things in case of long commands.
You will want to have the file (named, for example, options.txt) read
something like this...
-
Chaitanya,
I am successful in stacking the images to one file.
Thanks for your help.
But still I am unable to input the GCPs from .txt file.
I just did this.
>gdal_translate -of GTiff -gcp --optfile L5142051_05120060207_GCP.txt
merged_landsat.tif merged_landsat_proj.tif
Result was:
Too many comma
Narmadha,
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.
To make it easy to mention the GCPs to gdal_translate you could use
--optfi
Hi,
I am trying to layer stack 7 bands from Raw landsat image.
I have been provided with 7 tif files one for each band (with no proj)
A separate GCP file (.txt) with nearly 90 GCPs has been provided too.
I want to input all the GCPs into gdal_translate.
I am using FWTools to work with gdal.
Is