[GRASS5] [bug #2511] (grass) display driver converts colr2 colormaps to CELL only
glynn.clements at virgin.net
Mon Jun 28 12:48:45 EDT 2004
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2511
> Subject: display driver converts colr2 colormaps to CELL only
> after setting a color map for a raster at another_mapset with r.colors, a
> new colormap file is placed in
> $current_MAPSET/colr2/$another_mapset/$rastername. That lets you
> change the colors for a map in a mapset you don't own.
> That seems to work correctly & write a good colr file.
> When you go to display the raster though, the raster displays as if it
> had been converted into a CELL map, ie for a DCELL map ranging from
> 0.3 to 5.8 you get 5-6 filled contour levels instead of a smooth
> I guess the problem is somewhere in the display lib?
No; it's in G_read_colors(). The colour table is marked as FP after
the colr2 case has been dealt with.
Fixed in CVS.
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev