[GRASS-user] Re: Values from multiple raster -
Gabriele N.
gis.gn at libero.it
Wed Nov 24 16:36:22 EST 2010
Glynn Clements wrote:
>
> The same result can be achieved with one command:
>
> r.mapcalc "output = A * 10000.0 + B"
>
> The multiply will cause A to be converted to double to match the other
> argument (floating-point constants are double unless an explicit "f"
> suffix is given), the multiply will yield a double result, and the
> addition will convert B to double to match this.
>
perfect, I tried it and it actually works:) This speeds up operations.
Now I have to combine new maps and then to reclassify the maps, I will use
r.recode ... we'll see what happens:)
Thank you Glynn
Gabriele
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Values-from-multiple-raster-to-link-together-tp5741032p5772145.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list