[GRASS-dev] [GRASS-SVN] r54302 - grass/trunk/scripts/r.mask
Markus Metz
markus.metz.giswork at gmail.com
Sat Dec 15 16:11:48 PST 2012
On Sun, Dec 16, 2012 at 12:42 AM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi Markus,
>
> 2012/12/16 <svn_grass at osgeo.org>:
>
>> r.mask: fix #1838
>
> great addition! Probably we could also merge `maskcats` with `cats`
> parameter. The same syntax could be used for raster and vectors.
>
> maskcats=" 1 2 3 thru 7 *"
>
> would become
>
> cats="1,2,3-7,*"
This is not possible because r.reclass expects the (raster) maskcats
syntax, not the (vector) cats syntax. Each syntax is well established
and I don't think it's a good idea to sync the two (requiring too many
low-level changes that are neither bug fixes nor performance
improvements).
Markus M
More information about the grass-dev
mailing list