[GRASS-user] ...|no data problem

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Wed May 2 08:23:01 EDT 2007


I think it is a very simple problem but I don't get it.

I have a raster which I want to convert to integer but doing so results in 
areas with null() values.
When I look at the input raster (r.what) I get areas which look like this:


which also look fine in the integer conversion, but other areas give following 
r.what infos:

-2.14304204004|6.63535385832||2633784216.1745109558|no data

these areas results in null() values after integer conversion. 

I tried to remove the |no data part with the @rastername in r.mapcalc but that 
does not work, because only the second part is taken. 

Any ideas how to remove the |no data part?

TIA, Martin

More information about the grass-user mailing list