<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <DEFANGED_meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hamish schrieb:
<blockquote cite="mid20050617111024.768f3409.hamish_nospam@yahoo.com"
 type="cite">
  <pre wrap="">On Thu, 16 Jun 2005 08:53:18 +0200
Axel Orth <a class="moz-txt-link-rfc2396E" href="mailto:axel_orth@gmx.de">&lt;axel_orth@gmx.de&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I think r.mapcalc cropped_map=map should give me that result as a new 
raster file and when I use that command the map becomes pink.

SO it is not such a big problem but still a little bit strange.
    </pre>
  </blockquote>
  <pre wrap=""><!---->

Idea: r.mapcalc doesn't copy the color map along with the data.
Does the range of data etc shown with r.info look consistent?
How about r.univar?

Try this to copy the color map from the original to the new after
r.mapcalc:

r.colors cropped_map rast=map



Hamish


  </pre>
</blockquote>
I have to apologize a tousand times for bothering hte list:<br>
SORRY<br>
<br>
I used a number as name for my map<br>
[there is a number in the maps that corresponds with the ID and to
shorten the name alittle bit I just used the ID].<br>
So my r.mapcalc command gave each pixel of the new cropped map the
value of that number.<br>
I did recognize this by using r.info.<br>
<br>
<br>
<br>
Axel<br>
</body>
</html>