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

Otto Dassau otto.dassau at gmx.de
Mon Jul 29 14:33:51 EDT 2002


Glynn Clements wrote:
> 
> 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).

Dear Glynn, 

thanks for the hint, but I am not a programmer and not able update this
by myself. Would it be possible to fix r.cross easily? It would help a
lot!

thanks

  Otto Dassau



More information about the grass-dev mailing list