Select 来自 ArcGIS 或 arcpy 中基于属性 table 的选择

Select from selection based on attribute table in ArcGIS or arcpy

我 selected 小于 313 m2 的多边形,然后 selection 我需要 select 那些完全在其他一些多边形内。因此,两个 select 离子都在同一个 shapefile 上。

我尝试 selection 按属性和按位置似乎有响应。

如有任何建议,我们将不胜感激。

为了查找小多边形,您想在 Shape.Area 字段上使用 Select by Attribute

根据您的意见和总体项目目标,我建议使用 Polygon Neighbors 而不是尝试仅使用 Select 工具来完成所有事情。

The tool analyzes polygon contiguity, summarizing the

  • Area of overlaps (overlapping neighbors—optional)
  • The length of coincident edges (edge neighbors)
  • The number of times boundaries cross or touch at a point (node neighbors)

between source polygons and neighbor polygons. The summary information is written to an output table. A source polygon may have one or more neighbor polygons; a neighbor polygon is spatially related with the source polygon in at least one of the above ways.

因为它生成一个单独的 table,arcpy 脚本需要稍微复杂一些(读取 table 并根据内容做出一些决定),但这绝对是一种更简单的方法在 ArcMap 中手动完成该过程时。