Changeset 39114
- Timestamp:
- Sep 10, 2009, 8:58:41 AM (15 years ago)
- File:
-
- 1 edited
-
grass/trunk/scripts/r.mask/r.mask.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grass/trunk/scripts/r.mask/r.mask.py
r38661 r39114 8 8 # Converted to Python by Glynn Clements 9 9 # PURPOSE: Facilitates creation of raster MASK using r.reclass 10 # COPYRIGHT: (C) 2005, 2007 , 2008by the GRASS Development Team10 # COPYRIGHT: (C) 2005, 2007-2009 by the GRASS Development Team 11 11 # 12 12 # This program is free software under the GNU General Public … … 16 16 ############################################################################# 17 17 18 #% Module19 #% description: Create a MASK for limiting raster operation20 #% keywords: raster21 #% keywords: mask22 #% End18 #%module 19 #% description: Creates a mask for limiting raster operation. 20 #% keywords: raster 21 #% keywords: mask 22 #%end 23 23 #%option 24 24 #% key: input 25 25 #% type: string 26 26 #% gisprompt: old,cell,raster 27 #% description: Raster map to use as MASK27 #% description: Raster map to use as mask 28 28 #% required: no 29 #%END 29 #% guisection: Create 30 #%end 30 31 #%option 31 32 #% key: maskcats 32 33 #% type: string 33 #% description: Category values to use for MASK(format: 1 2 3 thru 7 *)34 #% description: Category values to use for mask (format: 1 2 3 thru 7 *) 34 35 #% answer: * 35 #%END 36 #% guisection: Create 37 #%end 36 38 #%flag 37 39 #% key: i 38 #% description: Create inverse MASK from specified 'maskcats' list 39 #%END 40 #% description: Create inverse mask from specified 'maskcats' list 41 #% guisection: Create 42 #%end 40 43 #%flag 41 44 #% key: r 42 #% description: Remove existing MASK (overrides other options) 43 #%END 45 #% description: Remove existing mask (overrides other options) 46 #% guisection: Remove 47 #%end 44 48 45 49 import sys
Note:
See TracChangeset
for help on using the changeset viewer.
