Thanks for the various and quick answers. They fall into 2 categories:

Visualization of line direction.
The simplest approach is to force a style on the border lines of the
regions; pen 57 is the easiest to see; it is made of >>> from origin to end.
Pretty good for isolated regions, or those sitting on the edges. It may
become unreadable if both directions are overlaid, or completely misleading
with donuts.

Mathematical algorithm
Both functions I received used essentially the same formula, a cumulative
area computed on all pairs of successive nodes; it might be time consuming
if the polygon is complex, but it seems reliable. I preferred Warren�s set
up simply because it lets you query individual polygons of complex regions.

I will put that function and a script that uses it to display a label on a
queried region on our site as soon as I can.

Thanks again.

Jacques Paris



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to