Selecting MultiPart Polygons if there are buildings in at least two of the parts

المشرف العام

Administrator
طاقم الإدارة
my data situation:

shape of polygons (some are MultiPart Poylgons) shape of building locations (Points)

What I need: Select all polygons that have two ore more parts and contain one building or more in at least two of the parts.

What I did so far:


  1. I added and calculated a field that tells me if a poylgon has multiple parts. Field calculator Python: !shape.isMultipart!

  2. I calculated of how many parts each MultiPart Polygon consists. Field calculator Python: !Shape!.partCount

Now I have all the MultiPart Polygons with two or more parts selected. From this point, how can I select only the polygons that contain a building in at least two of their parts?

PS: I'm working with ArcGIS



أكثر...
 
أعلى