[GRASS-user] Adjust opacity in command line

Hamish hamish_b at yahoo.com
Wed Aug 29 02:37:20 PDT 2012


Andy wrote:
> I have been trying to find a way to adjust the opacity (or
> transparency, to throw another key word in there)
> of raster and vector layers using the command line.

for two rasters you can use the d.shadedmap module for a similar effect.
It's just a wrapper around a trick with the d.his module.

examples:
  http://grass.osgeo.org/grass63/screenshots/images/fourmaps.jpg
  http://grass.osgeo.org/grass63/screenshots/images/spearfish_catchements.png

(see raster screenshots on the homepage for scripts that made those)


It's a bit limited in what it can be used for, but for the case of a
categorical area map (maybe 'v.to.rast type=area') over a shaded relief
DEM it works quite nicely.


Hamish


More information about the grass-user mailing list