[GRASSLIST:3230] Re: Missing 'output' in d.his (& d.shadedmap)

Karine ZUERCHER kzuerch at yahoo.com
Tue Feb 26 10:28:51 EST 2002


Glynn,

Thanks a lot for your enlightenment!

I use the shaded maps only to produce backround images (of let's say a 
geology raster layer shaded with a topography-aspect, so you get an idea of 
geology and relief in the flat 2d map view), images I then want to use as 
base layer in a GIS-web application.
(More an esthetics use maybe. But I like the speed of d.rast to get the PNG 
image... . 
And maybe I'm doing those maps the wrong way...
I was always wondering, if using an Aspect map was the right way to show 
relief.)


On Tuesday 26 February 2002 15:39, Glynn Clements wrote:
> 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.

In Kindness
Karine
-- 
Karine ZUERCHER

kzuerch at yahoo.com



More information about the grass-user mailing list