ArcGIS Find Empty polygons

Source: Internet
Author: User

It is now necessary to use ArcGIS to find the "empty" features in the polygon polygons.

Code Ideas

At first there was no idea, so the code was written, the basic flow is as follows:

1) traverse the elements that need to be judged (can be filtered by attributes);

2) Check all the elements adjacent to a feature;

3) Reverse check the adjacent spots of a feature neighbor: If the number of adjacent patches is unique, and the fid of the adjacent patches is the same as the FID of a feature, then the neighboring features of a feature are "inside" a feature, and a feature is an "empty" element.

Note : If the amount of data is too large, you can output only the FID of the "void" feature, and then use the attribute query to find it in ArcGIS; the boundary may be wrong to judge, preferably manually checked.

Tool Ideas

1) Turn the polygon to points with the feature to point, with the intention of preserving the property and selecting the inside option when converting;

2) Turn the face to the line with "Polygon to line";

3) Re-use "feature to Surface" *feature to Polygon) will generate the line to face, converted with the first step into the point of the label features, and check the Preserve attributes option.

Polygons that have no corresponding attributes are the original holes.

ArcGIS Find Empty polygons

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.