[GRASS5] procedures, "r.mapcalc bug" - really gis lib - see [bug #1502]

Glynn Clements glynn.clements at virgin.net
Wed Mar 19 11:27:35 EST 2003

Scott W. Mitchell wrote:

> I've been looking at bug #1502, which talks about cases where
> r.mapcalc crashes in certain situations with a formula that looks at
> categories, and a lookup of a category for a no data condition occurs
> (very summarized, see the bug tracker for details).  Looks like I've just
> run into this bug in my own work, so I was glad to find a reference to it.


> I made a small change in quant.c, home of G_quant_get_cell_value, to check
> for a return from G_quant_get_rule_for_d_raster_val before calling
> quant_interpolate:


> This seems to work for me, hopefully if this is the right change we can
> apply it ?  I'm new to this, let me know if I'm interpreting / suggesting
> incorrectly.

That's what I was suggesting; I'll make that change.

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-dev mailing list