Hamish wrote:

> the problem is the data
> is 90% done by 0.4, but the colr/ rules are only written out on integer
> values

Ah. Does the attached patch fix the problem?

-- 
Glynn Clements <[EMAIL PROTECTED]>

Index: lib/gis/color_xform.c
===================================================================
--- lib/gis/color_xform.c       (revision 30880)
+++ lib/gis/color_xform.c       (working copy)
@@ -165,7 +165,7 @@
        x = exp(lx);
 
        if (i > 0)
-           G_add_color_rule(prev, red, grn, blu, x, red2, grn2, blu2, dst);
+           G_add_d_raster_color_rule(&prev, red, grn, blu, &x, red2, grn2, 
blu2, dst);
 
        prev = x;
 
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to