[GRASS-user] Raster color table in ps.map
ramarajua at gmail.com
Sat May 31 11:46:01 EDT 2008
thank you. It's working
On Sat, May 31, 2008 at 8:58 PM, Hamish <hamish_b at yahoo.com> wrote:
> > I am using SRTM data for my study area with elevation
> > values ranging from 12 m to 960 m. I have set the color table to bgyr.
> > When I tried composing a map in ps.map using the above data with color
> > table, it gave me the following error message:
> > Your cats/ file is invalid. A cats/ file with categories and labels is
> > required for 'colortable' when using CELL rasters.
> > No colortable will be assigned to this output postscript file.
> > However, raster legend can be displayed in the grass map
> > display window.
> > I am using GRASS 6.3 on ubuntu 8.04 Can any of you advise me on how
> > to overcome this problem and print color table?
> not a very good solution, but convert the map to a FCELL raster with:
> g.region rast=cell_map
> r.mapcalc "fcell_map = float(cell_map)"
> then it shouldn't treat it as categorical and the colortable legend should
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user