AnsweredAssumed Answered

Is a polygon with a hole a multipart polygon?

Question asked by giv11eei on Jan 9, 2018
Latest reply on Jan 12, 2018 by bixb0012

Consider the following script, the polygon is a simple one with a hole inside:

 

import arcpy

poly1 = arcpy.FromWKT("POLYGON ((35 10, 45 45, 15 40, 10 20, 35 10), (20 30, 35 35, 30 20, 20 30))")

print(poly1.isMultipart)
print(poly1.partCount)

The result I get is

>>>
True
1

So is a polygon "multipart" if it has holes? ArcGIS Data Reviewer does not agree.

 

Thanks

 

ArcGIS Desktop 10.5.1

Outcomes