[GRASS-user] Adding a semi-transparent layer

José Antonio Ruiz Arias jararias at ujaen.es
Thu Mar 22 12:12:25 EDT 2007


Seems to work fine. Thanks a lot Glynn. ;)

________________________________
 
José A. Ruiz Arias
Departamento de Física
Escuela Politécnica Superior
Edificio A-3, Campus Lagunillas
Universidad de Jaén
23071 Jaén Spain
Tlf. +34 953212474
Email:  jararias at ujaen.es
_____________________________________

> -----Mensaje original-----
> De: Glynn Clements [mailto:glynn at gclements.plus.com]
> Enviado el: jueves, 22 de marzo de 2007 15:19
> Para: José Antonio Ruiz Arias
> CC: grassuser at grass.itc.it
> Asunto: RE: [GRASS-user] Adding a semi-transparent layer
> 
> 
> José Antonio Ruiz Arias wrote:
> 
> > I've been trying to create the PPM/PGM pair with the PNG driver. Using
> the next commands I get the ppm file:
> >
> > export GRASS_TRUECOLOR="TRUE"
> > export GRASS_WIDTH=642
> > export GRASS_WIDTH=371
> > export GRASS_PNGFILE=mde.ppm
> >
> > d.mon start=PNG
> > d.mon select=PNG
> > d.rast map=mde
> > d.mon stop=PNG
> >
> >
> > But doing the same for the pgm file I get an error message. I have
> > looked for some specific command in GRASS to create de pgm but I
> > haven't found it.
> 
> Add:
> 	export GRASS_TRANSPARENT=TRUE
> 
> This will cause a PGM file to be written out in addition to the PPM
> file. The PGM file contains the mask.
> 
> > Also looked for the mapdisp.tcl to take it a look
> > but I don't have it in my system (at least that's what I think).
> 
> The file which performs the compositing is etc/gm/mapcanvas.tcl.
> 
> --
> Glynn Clements <glynn at gclements.plus.com>
> 
> __________ Información de NOD32 2134 (20070322) __________
> 
> Este mensaje ha sido analizado con  NOD32 antivirus system
> http://www.nod32.com






More information about the grass-user mailing list