[postgis-users] Re: C question, PG_RETURN_POINTER: GPC integration

Dave Blasby dblasby at refractions.net
Mon Apr 29 09:13:30 PDT 2002


Nicolas Ribot wrote:
> I looked more closely at my resulting polygon: I noticed it was
> clockwise-oriented, which is baaad for OpenGIS polygons.
> I changed the orientation, and it worked.
> (in fact, I'm not sure if it was the real cause: I think that changing the
> indices of my loop to add vertices in a reverse order corrected the
> problem).

PostGIS (currently) doesnt worry about CCW or CW polygons.

Glad to see that its working!

dave




More information about the postgis-users mailing list