<div dir="ltr">Hi Gabriele,<div><br></div><div>After you use r.cross (I follow Christian´s suggestion on it), if you need to do some computation with the new generated raster map, you can use r.stats to generate a ascii output. After I even use R to haldle the tabular data.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>miltinho astronauta</div><div>brazil<br><br><div class="gmail_quote">2008/9/9 Christian Schwartze <span dir="ltr">&lt;<a href="mailto:Christian.Schwartze@uni-jena.de">Christian.Schwartze@uni-jena.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If I unterstood you right, maybe r.cross is useful...<br>
<br>
Regards,<br>
Christian.<br>
<br>
<br>
Zitat von &quot;Gabriele N.&quot; &lt;<a href="http://gis.gn" target="_blank">gis.gn</a>@<a href="http://libero.it" target="_blank">libero.it</a>&gt;:<br>
<div><div></div><div class="Wj3C7c"><br>
&gt;<br>
&gt; Hi everyone.<br>
&gt;<br>
&gt; I have two questions<br>
&gt;<br>
&gt; 1)<br>
&gt; I have some raster (with the same format and are converted from vector). The<br>
&gt; cells have the value of CAT. So the value = CAT<br>
&gt; With r.mapcalc I would define a map of output that I give, as the value for<br>
&gt; each cell, indications of the different CAT. For example, if I have the<br>
&gt; raster A that has value = 1 and raster B that has value = 2, I will have<br>
&gt; raster C output value = 1,2<br>
&gt; If I have 3 maps in input, value = 1,2,3 etc. ...<br>
&gt; I made several attempts but I do not know if r.mapcalc concatenates the<br>
&gt; values.<br>
&gt;<br>
&gt; 2)<br>
&gt; if r.mapcalc is not possible, I tried to make the transition to vector. The<br>
&gt; passages that I made are:<br>
&gt; &nbsp; - r.to.vect maps raster input (es rasterA and rasterB)<br>
&gt; &nbsp; - V.overlay and I get in dbf, in a column the value of rasterA and in<br>
&gt; another column the value of rasterB. I&#39;ve created a third column to<br>
&gt; concatenate the 2 columns but it seems to me that the operator &#39;| |&#39; does<br>
&gt; not work with dbf.<br>
&gt; How do I concatenate the values in 2 columns?<br>
&gt;<br>
&gt; Thank you very much<br>
&gt; Gabriele<br>
&gt; --<br>
&gt; View this message in context:<br>
&gt; <a href="http://www.nabble.com/r.mapcalc-concatenates-values--tp19392795p19392795.html" target="_blank">http://www.nabble.com/r.mapcalc-concatenates-values--tp19392795p19392795.html</a><br>
&gt; Sent from the Grass - Users mailing list archive at Nabble.com.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; grass-user mailing list<br>
&gt; <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
</div></div>----------------------------------------------------------------<br>
This mail was sent through <a href="http://webmail.uni-jena.de" target="_blank">http://webmail.uni-jena.de</a><br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</div></div></blockquote></div><br></div></div>