[GRASS-user] Making a MASK raster in a C Script

rabotin rabotin at supagro.inra.fr
Wed Sep 15 03:17:37 EDT 2010

Dear all,
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 ?

Thanks for any answer !

Michael Rabotin


Michaël Rabotin
Ingénieur d'étude en géomatique / GIS Engineer

Laboratoire d'étude des Interactions Sol, Agrosystème et Hydrosystème

Bat. 24
2 place Viala
34060 Montpellier cedex 1

LISAH : Laboratory Interactions between Soils, Agrosystems and Hydrosystems
Multi-Institute Research Unit (UMR)
French National Institute for Agricultural Research (INRA)
French Institute for Research and Overseas Development (IRD)
School of Agronomy of Montpellier (SupAgro)

Téléphone / Phone number :  33 (0)4 99 61 23 85
Secrétariat / Secretariat : 33 (0)4 99 61 22 61
Fax : 33 (0)4 67 63 26 14
E-mail : rabotin at supagro.inra.fr
Site web / website: http://www.umr-lisah.fr/
Site web OpenFLUID / OpenFLUID website: http://www.umr-lisah.fr/openfluid/

More information about the grass-user mailing list