[GRASS-user] exporting Grass rasters to multiband Geotiff?

Vishal Mehta vishalm1975 at gmail.com
Wed Nov 1 01:03:21 EST 2006


Hi all,

I would like to know how i can export, say, 12 grass rasters (call them
map.1 to map.12) into a single GeoTiff file.
Looks like r.out.gdal allows only one band Geotiff?
What about gdal_translate? I used gdal_translate to import from Netcdf to
multi-band GeoTiff months ago, but am not sure how it works for exporting
from Grass to multi-band GeoTiff.

maybe something like :
gdal_translate -ot Int16 -of GTiff -b 1 -b 2 ... -b 12  map.1 map.2...map.12
out.tiff
would the above work?

if this cannot be done, i need to export into some other multi-band format -
would exporting to Erdas Imagine (.img) format work for multi-band?

thanks,
vishal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20061101/13e6372c/attachment.html


More information about the grass-user mailing list