[GRASS5] [bug #1210] (grass) quering r.cross result crashes

Glynn Clements glynn.clements at virgin.net
Fri Jul 26 21:23:56 EDT 2002


Otto Dassau wrote:

> I solved my problem partly using 
> 
> r.null map=crosstest setnull=0
> 
> but I do not understand why this works. The problem areas were already
> NULL <no data> in both initial maps, so why not in the result map after
> using r.cross? 

r.cross hasn't been updated to understand null values yet.

The actual data is read using G_get_map_row(), which automatically
converts nulls to zeroes. However, the category information will refer
to null rather than zero (or maybe both null and zero).

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list