Polygon clockwies counter clockwies repair

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri Feb 18 14:21:13 EST 2005


On Fri, 18 Feb 2005 14:06:40 -0500, Aaron D. Hunt <hunt at zedxinc.com> wrote:
> Are there any linux programs of code examples on how to fix a shape file
> that has polygons and anti polygons so that the clockwise and counter
> clockwise is correct.

Aaron,

I *think* that OGR will try and sort that all out if you copy a shapefile
with ogr2ogr.  If not, I would be interested in fixing it.   Give it a try
and let me know (with details) if you still see problems.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list