[GRASS5] raster rendering bug
Hamish
hamish_nospam at yahoo.com
Wed May 19 22:26:28 EDT 2004
> I seem to remember seeing this sometime in the past, just ran across it
> again today.
>
> I have a raster created with 5.7's 'v.to.rast use=val val=123.4'. When
> viewed with d.rast in 5.3 or 5.7 and zooming in, it displays incorrectly
> (white band) on raster rows containing all the same value.
>
> (r.colors col=rules < 0% red ; 100% red)
.. the percentage part of r.colors seems to be the culprit:
r.info:
Data Type: DCELL
Range of data: min = 177.700000 max = 177.700000
r.colors col=rules
Enter rules, "end" when done, "help" if you need it.
fp: Data range is 177.6999999999999886313162278 to 177.6999999999999886313162278
> 0% red
> 100% red
> end
If I set the rules to
> 170 red
> 180 red
> end
it displays fine.
Hamish
More information about the grass-dev
mailing list