rabotin wrote:
> In a C script, I need to create a MASK from a raster map. I
> saw that the r.mask command is a front-end of the r.mapcalc
> command.
> Is there a C function or library to create a MASK for a C
> script or do we need to use the r.mapcalc library ?


all you need to do is to create a raster map called "MASK"
somewhere in the mapset search path. The only thing special
about it is its name, otherwise create it like any other map,
either in C using libgis or with the output= option of any
module, or g.rename, or g.copy.


Hamish



      
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to