[GRASS5] xdriver: Unable to get sufficient colors

Radim Blazek Radim.Blazek at dhv.cz
Wed Jun 27 11:34:33 EDT 2001


"Eric G. Miller" wrote:

> That seems to work.  I didn't update CVS, 'cause the algorithm used for handling
> polygon holes isn't quite right, and writing the code to make it right is
> non-trivial (anybody know how to implement the Weiler-Atherton clipping
> algorithm?).  I suppose that little part of d.area could be updated, even if the
> program doesn't quite behave correctly.
> 
> --
> Eric G. Miller <egm2 at jps.net>

It is not problem in Xwindow, islands may be attached to area without additional
processing. If I remember your tests (~6 monts ago), problem is in CELL, PNG driver.
Isn't it possible to modify plot function used in this driver?. I think that it draws
horizontal lines from left to right between boundaries. Check if this line is zero length
before drawing should help, I think.

Radim



More information about the grass-dev mailing list