Re: [gdal-dev] including GCP file for gdal_translate

2009-07-02 Thread NarmadhaK
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

Re: [gdal-dev] including GCP file for gdal_translate

2009-07-01 Thread Chaitanya kumar CH
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... -

Re: [gdal-dev] including GCP file for gdal_translate

2009-07-01 Thread NarmadhaK
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

Re: [gdal-dev] including GCP file for gdal_translate

2009-06-29 Thread Chaitanya kumar CH
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

[gdal-dev] including GCP file for gdal_translate

2009-06-29 Thread NarmadhaK
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