Büro Seling said:<br><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
My problem begins, when I now try to add up all these single maps into one larger map.<br>
I searched for a solution and tried several things, but nothing worked.<br>
<br>
Any tipps or hinds?<br>
</blockquote></div><br><br>Hey,<br><br>As always, there is probably a much more elegant solution to this problem, but this should get you going for now:<br><br>> g.region rast=map1,map2 # just to make sure your region encompass everything<br>
> r.mapcalc "bigmap=if(isnull(map1),99999,map1)+if(inull(map2),99999,map2)" # replace nulls on the fly by a specific value that your data does not contain<br>> r.mapcalc "bigmap=if(bigmap==99999,null(),bigmap)" # put back the nulls<br>
<br>Well, ugly like all my codes, but it works.<br><br>Cheers,<br>Marcello.<br><br><br><br>