[GRASS5] Re: mapcalc reusability

cgnicholas at alamedanet.net cgnicholas at alamedanet.net
Mon Oct 24 20:32:26 EDT 2005


> look at r.blend

 with the companion g.parser, this is kinda cool :-]

I notice the interesting header comments there, with #% delimeters ...

#%Module
#%  description: Blends color components of 2 raster maps by a given %
first map'
#%End
#%option
#% key: first
#% type: string
#% gisprompt: old,cell,raster
#% description: Name of first file for blending
#% required : yes
#%end
#%option
#% key: second
...
 
pardon my asking (and ignorance), but is this just convention, or is
there something that defines 'key', 'type', 'gisprompt', etc, and is
generally capable of parsing this? is this so it can appear in the Tcl
GUI?

Chris




 




More information about the grass-dev mailing list