Dear all,
In r.cross if all input layers have 0 (zero), the resulting layer get's assigned the category 0, but no label is assigned (even if in the input maps the category 0 have a label). Is there any specific reason for that?
Rgds,
Paulo
Dear all,
In r.cross if all input layers have 0 (zero), the resulting layer get's assigned the category 0, but no label is assigned (even if in the input maps the category 0 have a label). Is there any specific reason for that?
Rgds,
Paulo
On 27-06-16 13:16, Paulo van Breugel wrote:
Dear all,
In r.cross if all input layers have 0 (zero), the resulting layer get's assigned the category 0, but no label is assigned (even if in the input maps the category 0 have a label). Is there any specific reason for that?
In fact, if two layers have value 1, the resulting category is 0, and no label is assigned. For example, the category 0 in the category report below are the areas where both input maps A and B have value 1 and label 'non-forest'. So in my understanding it should have the label 'non-forest; non-forest' (and shouldn't it have category value '1'?
|-----------------------------------------------------------------------------|
|MASK: MASK in JP_working |
|-----------------------------------------------------------------------------|
|MAP: Cross of A and B (Comp_fc@JP_working in JP_working) |
|-----------------------------------------------------------------------------|
| Category Information | | cell| % |
|#|description | hectares| count| cover|
|-----------------------------------------------------------------------------|
|0| . . . . . . . . . . . . . . . . . . . . . . .| 62,491,815| 73165335| 44.10|
|1|non-forest; forest . . . . . . . . . . . . . .| 3,233,291| 3783472| 2.28|
|2|forest; non-forest . . . . . . . . . . . . . .| 5,956,016| 6968998| 4.20|
|3|forest; forest . . . . . . . . . . . . . . . .| 3,497,042| 4091703| 2.47|
|4|forest_M; non-forest . . . . . . . . . . . . .| 1,938,309| 2270237| 1.37|
|5|forest_M; forest . . . . . . . . . . . . . . .| 193,497| 226765| 0.14|
|*|no data. . . . . . . . . . . . . . . . . . . .| 64,406,159| 75462231| 45.45|
|-----------------------------------------------------------------------------|
|TOTAL |141,716,130|165968741|100.00|
+-----------------------------------------------------------------------------+
Rgds,
Paulo