[GRASS-user] No color for geotiffs exported with r.out.gdal
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Mon Apr 5 16:30:26 EDT 2010
On Fri, 2010-04-02 at 12:59 -0400, M S wrote:
> How about r.out.tiff?
> Mark
Another (strange) option is to export with "r.out.ascii" and convert
into GeoTIFF with gdal_translate. For example, given that your ascii
rasters have ".asc" extension:
for x in *.asc; do gdal_translate (your-options-go-here) $x $x.tif; done
(Don't remember from where I stole this hint).
Nikos
> On Fri, Apr 2, 2010 at 11:00 AM, William Hudspeth
> <bhudspeth at edac.unm.edu> wrote:
> Hello,
> I am using GRASS 6.4~rc5-2 on Ubuntu 9.10. I am trying to
> export a DCELL raster map to both a byte formatted and a
> UInt16 formatted Geotiff file.
> The UInt16 formatted file shows nothing when I try to open the
> file, and the byte formatted file is in black and white only.
> I can't seem to get color. The original GRASS raster uses the
> "ndvi" color scheme.
> Thanks, Bill
More information about the grass-user
mailing list