[Xastir] Fwd: *.map problems

Curt Mills, WE7U archer at eskimo.com
Sat Jul 26 11:52:53 EDT 2003


On Fri, 4 Jul 2003, Tom Robson wrote:

> Loaded the latest cvs today and all of the reindexing errors have been 
> resolved, however the:
> 
> map_plot:Too few points:1, Skipping XFillPolygon()map_plot:Too few points:1,
> Skipping XFillPolygon()map_plot:Too few points:1, Skipping
> XFillPolygon()map_plot:Too few points:1, Skipping XFillPolygon()map_plot:Too
> few points:1, Skipping XFillPolygon()map_plot:Too few points:1, Skipping
> 
> is still occurring on one map.  Perhaps there is something wrong with it, but 
> it displays properly
> 
> It only occurs when the properties, Maps > Properties > Draw filled = Yes 
> and the Maps > Enable Color Fills > is selected.
> 
> Not a big issue as I realize there are more pressing things....

Ok.  I finally got to playing with that map this morning, and your
properties settings helped me to duplicate the problem.

Here's what's going on:  In the call to X11 where we are specifying
polygon fills, we must have three or more points, else there's not
a polygon to fill, only a line or a point.  For some reason this map
has been created with areas of one or two points that are resulting
in our attempting to call the polygon fill function.  The output
is just telling you that.  It doesn't affect the map drawing except
that those X11 calls will be skipped.  Anything with 3 or more points
that's a polygon draw/fill will be called normally.  Lines, points
and labels will all be drawn normally as well.

I'll try to take a look at the code to see if for DOS/Win maps we
are trying to call the polygon draw/fill functions where we
shouldn't.

Curt, WE7U.				archer at eskimo.com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list