Skip to content

Commit

Permalink
more gui sections
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39114 15284696-431f-4ddb-bdfa-cd5b030d7da7
  • Loading branch information
landam committed Sep 10, 2009
1 parent c704fb7 commit 5980b71
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions scripts/r.mask/r.mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,44 @@
# Markus Neteler
# Converted to Python by Glynn Clements
# PURPOSE: Facilitates creation of raster MASK using r.reclass
# COPYRIGHT: (C) 2005, 2007, 2008 by the GRASS Development Team
# COPYRIGHT: (C) 2005, 2007-2009 by the GRASS Development Team
#
# This program is free software under the GNU General Public
# License (>=v2). Read the file COPYING that comes with GRASS
# for details.
#
#############################################################################

#%Module
#% description: Create a MASK for limiting raster operation
#% keywords: raster
#% keywords: mask
#%End
#%module
#% description: Creates a mask for limiting raster operation.
#% keywords: raster
#% keywords: mask
#%end
#%option
#% key: input
#% type: string
#% gisprompt: old,cell,raster
#% description: Raster map to use as MASK
#% description: Raster map to use as mask
#% required: no
#%END
#% guisection: Create
#%end
#%option
#% key: maskcats
#% type: string
#% description: Category values to use for MASK (format: 1 2 3 thru 7 *)
#% description: Category values to use for mask (format: 1 2 3 thru 7 *)
#% answer: *
#%END
#% guisection: Create
#%end
#%flag
#% key: i
#% description: Create inverse MASK from specified 'maskcats' list
#%END
#% description: Create inverse mask from specified 'maskcats' list
#% guisection: Create
#%end
#%flag
#% key: r
#% description: Remove existing MASK (overrides other options)
#%END
#% description: Remove existing mask (overrides other options)
#% guisection: Remove
#%end

import sys
import os
Expand Down

0 comments on commit 5980b71

Please sign in to comment.