[GRASS-dev] r.colors now producing bogus color files for 'ryg' case

Dylan Beaudette dylan.beaudette at gmail.com
Fri Jun 1 14:40:51 EDT 2007


On Thursday 31 May 2007 21:06, Glynn Clements wrote:
> Hamish wrote:
> > So FP maps are being treated as CELL maps?
>
> Oops:
>
> --- raster/r.colors/main.c	29 May 2007 04:43:14 -0000	2.17
> +++ raster/r.colors/main.c	1 Jun 2007 04:06:38 -0000
> @@ -306,7 +306,7 @@
>  		exit(EXIT_FAILURE);
>  	}
>  	else if (find_rule(type))
> -	    G_make_colors(&colors, type, min, max);
> +	    G_make_fp_colors(&colors, type, min, max);
>  	else
>  	    G_fatal_error(_("%s - unknown color request"), type);
>      }
>
> Fixed in CVS.

Thanks Glynn!

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341




More information about the grass-dev mailing list