[GRASSLIST:3227] Re: Missing 'output' in d.his (& d.shadedmap)
Glynn Clements
glynn.clements at virgin.net
Tue Feb 26 09:39:44 EST 2002
Karine ZUERCHER wrote:
> > > Until Grass5beta11, I used to create shaded maps with d.shadedmap tcltk
> > > module, but with grass5.0.0pre3 I realized I could no longer write an
> > > output map. In fact it is the d.his module that no longer has an optional
> > > output option.
> >
> > This functionality is now provided by r.his. r.his creates separate
> > R/G/B output layers; you can use r.composite to generate a composite
> > colour layer if you need to (although I'm not aware of any situation
> > where this is required).
>
> Actually, I need it to get a shaded raster map...
What I meant is that I don't know of any situation where a colour
image *has* to be represented as a single composite colour layer. For,
anything that can be done with a composite layer, there should be an
equivalent process which works with separate R/G/B layers, except that
using separate layers will result in higher quality.
E.g.
display d.rast -> d.rgb
print ps.map "raster" -> ps.map "rgb"
export r.out.ppm -> r.out.ppm3
import r.in.ppm -> r.in.ppm -b
> Thanks for the typ, although it's a longer way, it works fine.
>
> Still, if possible, I would suggest the reput the d.his (& d.shadedmap)
> output option !
The old behaviour was largely a result of the fact that d.his used to
generate a composite colour version of the data for output; the
"output=" option just saved data which was already being generated.
d.his was changed to use the RGB raster functions (R_RGB_raster()
etc), as this produces better output. So, it no longer generates the
data which was being saved by the "output=" option.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list