[GRASS5] [bug #3587] (grass) v.to.rast: assign a proper color
table to the output
Helena Mitasova
hmitaso at unity.ncsu.edu
Mon Aug 29 10:40:44 EDT 2005
Markus Neteler via RT wrote:
> Related to the v.to.rast color table problem there might
> be below code in:
> vector/v.to.rast/support.c
>
>
>
> int
> update_fcolors (char *raster_name)
> {
> struct Colors colors;
>
> /* G_read_fp_range(raster_name, G_mapset(), &range); */
> /* G_get_fp_range_min_max(&range, &min, &max); */
> G_make_rainbow_colors(&colors, 0, 360);
> G_write_colors(raster_name, G_mapset(), &colors);
>
> return 0;
> }
>
>
> Should it be min max instead of 0 360?
yes, I am guessing that this color table was there for v.to.rast2 for
the line direction angle - min,max should cover it.
Helena
>
> Markus
>
> -------------------------------------------- Managed by Request Tracker
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
More information about the grass-dev
mailing list