[GRASS-user] r.mask: no MASK created when using many categories

Markus Neteler neteler at osgeo.org
Wed May 10 09:25:39 PDT 2017


On Fri, Apr 7, 2017 at 3:53 AM, Anna Petrášová <kratochanna at gmail.com> wrote:
> On Thu, Apr 6, 2017 at 5:47 AM, Micha Silver <tsvibar at gmail.com> wrote:
>> I can duplicate the problem (but only up to 100 cats). Above that I get an
>> error of "stack smashing":
>
> I tried to fix it in r70847 (or at least allow longer sequences, the
> arrays are still statically allocated).

(To explain r70847: that it change https://trac.osgeo.org/grass/changeset/70847
r.reclass: allow using more than 100 rules)

> But in this case you can also use "1 thru 106".

I have backported that for the future 7.2.2 in
https://trac.osgeo.org/grass/changeset/71050

Markus


More information about the grass-user mailing list