I'm searching for an ArcMap (10.2) Tool that merges multiple polygons over a given distance (in the end term I want to select all polygons with an area greater than 7ha). To illustrate my use case here is a screenshot of my problem:
As you can see I selected three polygons that the tool should merge into one polygon. To be more precise I want to merge every feature that has a distance less than or equal to sqrt(100^2+100^2) (this is because the size of a a square is 100x100 meters). What I tried so far is the Aggregate Polygons tool within the Cartography Toolbox, but the result was unsatisfying:
The red circles show the side effects of filling some gaps I rather want to be ontouched. Also the area indicated by the green circle is not a part of the merged polygon. The following is the generated python snippet of my tool execution:
arcpy.AggregatePolygons_cartography(in_features=...,out_feature_class=...,aggregation_distance="142 Meters",minimum_area="0 SquareMeters",minimum_hole_size="0 SquareMeters",orthogonality_option="ORTHOGONAL",barrier_features="#")
Am I using the wrong tool for the job?
My current workaround is to copy the featureclass; create a buffer within the copy; dissolve (with multipart none); select the features with area > 7ha; select by intersect; copy the selection to a new feature class
After talking this over with a tech from our group I'm afraid the data is not given as a raster file, but only as a feature class (and converting it back and forth again wouldn't be ideal)
For clarification, here is a simplified problem of three diagonaly adjacent 100x100 meter polygons(/features @I). @II/III, we're searching for a solution that scans for neighbors not only in a horizontal and vertical way, but also in diagonal directions. e.g. @IV scans for neighborcandidates - @V finds one, adds the square to the feature(@VI) and scans for new neighbors. The result should look like @VII with all three squares merged together and the according data records should state a shape area of 300 sq m.