Select to view content in your preferred language

Check ring direction in polygon

920
1
03-28-2013 12:58 PM
Matrix_Solutions_Inc_Geomatics
Regular Contributor
Hi,

I was wondering if there is any functionality (preferable client side) to check a ring / polygon for correct geometry, specifically the ring vertices direction.

Reason why is I'm using Kml files and Google Earth likes to create rings opposite way of ESRI's format.

I've already built in the ability to reverse the direction but I would prefer to check the direction first before reversing the vertices.
0 Kudos
1 Reply
PhilipKnight1
Regular Contributor
If you check the area, if it's in the "wrong" direction I think it should be a negative area.

But I wonder if this would still be true if the polygon had holes that were larger than the filled-space? Perhaps holes are just not factored at all?
0 Kudos