bharath s wrote:

>          i want to read an image (tiff ) file from grass ...if i run
> r.in.gdal it is coming as 3 bands ...please help me how can i read as a
> single band  i have tried Tiff , Envi image , HDF and Ntiff formats,Ascii
> but it came 3 bands......

You can read a single band by using the band= parameter.

If you want to generate a map whose categories represent a composite
colour image, you can use r.composite, but this is usually a bad idea,
as you're very limited in the kind of processing which you can perform
on the result. Also, unless you accept a reduced colour depth, any
process which requires the colours (e.g. display) will be slow.

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to