[postgis-users] Correcting polygon with holes

Malm Paul paul.malm at saabgroup.com
Wed May 23 23:07:05 PDT 2007


Hi list,

I have Shape files with polygons that I would like to store in a Postgis
database. The polygons has holes in them.
I've noticed (in the Shape files i'm using) that some holes can be
defined clockwise and others can be defined counter clockwise.

Is there an easy way to redifine the polygons in Postgis, or is the
anyone who has a fast algoritm to descide if it is clockwise or counter
clockwise?

Thanks,
Paul 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070524/807b5fab/attachment.html>


More information about the postgis-users mailing list