Q: How to quickly calculate turf per maintenance area?

May 17, 2019 ArcGIS-Desktop Python

Showing turf over maintenance areas.

A: Python in ArcGIS Pro:

arcpy.analysis.SummarizeWithin("maintenance_area_pgon", "turf_area_gpon", r"path\to\save\output\file", "KEEP_ALL", None, "ADD_SHAPE_SUM", "SQUAREFEET", None, "NO_MIN_MAJ", "NO_PERCENT", r"path\to\save\group\table")

The parameters for Summarize Within are

SummarizeWithin_analysis (in_polygons, in_sum_features, out_feature_class, {keep_all_polygons}, {sum_fields}, {sum_shape}, {shape_unit}, {group_field}, {add_min_maj}, {add_group_percent}, {out_group_table})

For the full docs have a look at esri’s documentation.