[GRASS-user] r.cross doesn't work correctly.

Markus Metz markus.metz.giswork at gmail.com
Mon Feb 26 04:01:35 PST 2018


On Mon, Feb 26, 2018 at 11:19 AM, Gra <graziaz at gmail.com> wrote:
>
> Dear community
>
> I use r.cross to combine and then reclassify a set of indicators.
>
> I realised that r.cross doesn't work correctly.
>
> I have two inputs maps with values from 1 to 3 each.
>
>
> the problem is that r.category doesn't list the first combination (eg 1
to 1)
>
> eg
> r.category map=myinput at in_data

> 0
> 1 category 1; category 2
> 2 category 1; category 3
> 3 category 2; category 1
> 4 category 2; category 2
> 5 category 2; category 3
> 6 category 3; category 1
> 7 category 3; category 2
> 8 category 3; category 3
>
> in reality the first combination exists (0 is empty but  I should have
there category 1; category 1)
> the problem is that I have to iterate on 700 cases and I wont check and
correct manually.
>
> could  you fix it?

Please try trunk r72281

Markus M

> thanks
> Grazia
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180226/7ab3b8ef/attachment-0001.html>


More information about the grass-user mailing list