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

Hi,

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?

maybe someone has an idea

Otto

PS: Sorry, I mixed up some things before I found out how to reply to my
own messages in the bug report system - hope it's OK now.

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@virgin.net>