I'm coming in a bit late in the discussion but doesn't r.cross solves
your problem?
http://grass.osgeo.org/grass65/manuals/html65_user/r.cross.html
Daniel
On Tue, Nov 16, 2010 at 2:51 PM, Gabriele N. wrote:
>
> Sorry, I have not explained well.
> The problem was related to the value of C map. T
Sorry, I have not explained well.
The problem was related to the value of C map. That is, I take the example
above. If the value of C map is equal to 1, I get a result -> A =12 B=3323
C=1 =12332301 (8 digit number) and instead could be useful 1233231 (number
7-digit).
However I checked and I need
Am 15.11.2010 23:36, schrieb Gabriele N.:
Hi Achim.
Returning to the problem of the three maps in some cases remain the problem
(for example for the map "C"), because some numbers are 2 digits and another
with 1 digit.
For example, with values A = 12 B = 3323 C = 1 instead of 1233231 I have
Hi Achim.
Returning to the problem of the three maps in some cases remain the problem
(for example for the map "C"), because some numbers are 2 digits and another
with 1 digit.
For example, with values A = 12 B = 3323 C = 1 instead of 1233231 I have
12332301
:/
--
View this message in context:
Am 15.11.2010 23:10, schrieb Gabriele N.:
Excellent Alex:). The maps are as follows:
A -> value 0, 1, 2, ... 19
B -> value 0, 1001, 1002, 1003 3351
C -> value from 0, 1, 2, 3, 4 .. 15
So, I did as you suggested:
r.mapcalc "output" = "(( "A" *100)+( "B" *100)+ "C" )"
right?
And
Excellent Alex:). The maps are as follows:
A -> value 0, 1, 2, ... 19
B -> value 0, 1001, 1002, 1003 3351
C -> value from 0, 1, 2, 3, 4 .. 15
So, I did as you suggested:
r.mapcalc "output" = "(( "A" *100)+( "B" *100)+ "C" )"
right?
And if I had decimal numbers or strings instead