Re: [GRASS-user] Re: Values from multiple raster - to link together

2010-11-20 Thread Daniel Victoria
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. gis...@libero.it wrote: Sorry, I have not explained well. The problem was related to the

[GRASS-user] Re: Values from multiple raster - to link together

2010-11-16 Thread Gabriele N.
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

[GRASS-user] Re: Values from multiple raster - to link together

2010-11-15 Thread 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 if I had decimal numbers or strings instead of numbers?

Re: [GRASS-user] Re: Values from multiple raster - to link together

2010-11-15 Thread Achim Kisseler
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 if I

Re: [GRASS-user] Re: Values from multiple raster - to link together

2010-11-15 Thread Achim Kisseler
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