[GRASS5] [bug #3587] (grass) v.to.rast: assign a proper color table to the output

Markus Neteler via RT grass-bugs at intevation.de
Mon Aug 29 08:53:20 EDT 2005


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?

Markus

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list