[GRASS-user] ...|no data problem
Glynn Clements
glynn at gclements.plus.com
Wed May 2 09:58:07 EDT 2007
Martin Wegmann wrote:
> 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:
>
> -1.59582443346|6.02450629749||927119811.912364006|
>
> 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.
Note that 2633784216 is too large to be represented as an integer; the
range of integers is -2147483647 to +2147483647 inclusive.
If you have values outside that range, you will need to rescale.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list