confusion about polygon definitions

Joseph Bussell joe at OTSYS.COM
Fri Nov 12 14:45:07 EST 2004


How does one differentiate the polygon:

    P1:  (  10,   179 )  (  -10,   179 )  (  -10,  -179 ) ( 10,  -179 ),
    interior point at ( 1,  179.5 )

from

    P2:  (  10,   179 )  (  -10,   179 )  (  -10,  -179 ) ( 10,  -179 ),
    interior point at ( 1, 100 )

P1 is a small square at the international dateline.
P2 is the large strip that wraps around the globe.

My goal is to display both as unique.  I have several polygons which
straddle the dateline and are not filling correctly.  I note however
that the Asia polygon in my world shapefile crosses the dateline just
fine.  Siberia appears correctly divided as one would expect.  Is there
a point order such as a couter-clockwise point addition?

Cordially,

Joe Bussell
On Time Systems



More information about the mapserver-users mailing list