[GRASS-dev] Re: [GRASS GIS] #1525: r.mask cannot use float maps
GRASS GIS
trac at osgeo.org
Sat Dec 31 05:26:16 EST 2011
#1525: r.mask cannot use float maps
----------------------+-----------------------------------------------------
Reporter: pertusus | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by pertusus):
It does not solve my issue. I have printed the options, and indeed
maskcats is not null, but *:
{{{
if __name__ == "__main__":
options, flags = grass.parser()
print options
}}}
r.mask input=seed
{'input': 'seed', 'maskcats': '*'}
ERREUR :Raster map seed must be integer for maskcats parameter
This is certainly because of the * below:
#%option
#% key: maskcats
#% type: string
#% description: Category values to use for mask (format: 1 2 3 thru 7 *)
#% answer: *
#% guisection: Create
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1525#comment:6>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list