I have a polygon determined by an Array of Points.
This polygon is crossing itself making some holes in the polygon itself.
My questions is: How can I omit this holes and just get the exterior points of the polygon?
Or what will be the same and probably easier: Which Algorithm for checking if a point is inside a Polygon should I use to detect the points in the holes of the polygon as inside points?
Thanks in advance,
/roger
on the Production Editing Advanced toolbar. Press the Ctrl key and click inside any of the selected polygons. The Fill Hole message appears and notifies you that all holes in the selected features will be filled.
Deleting polygon points and shapes While in picking mode, right-click within the polygon and click Delete Shape to delete the selected shape, or click Delete all points from "Polygon" to delete all the polygon shapes and points.
You can inspect the selected polygons to see if they are slivers, then either use the Editor > Merge command or the Eliminate geoprocessing tool (requires an ArcGIS for Desktop Advanced license) to merge the slivers with neighboring polygons.
A hole in a polygon feature is a part of a multipart feature. To create a hole, finish the primary part and sketch the hole. Alternatively, you can split the feature and delete the part, or clip a hole using an existing overlapping feature. These tools are available in the Modify Features pane.
First, find all intersections of edges, add these intersections to the vertices list, and split the edges at these intersections. Then, start with one vertex that is obviously an external one (e.g. the "rightmost") and trace the outline, adding edges and vertices to the result sets. Tracing the outline is simply going along the edge with minimum angle to the last edge.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With