{ "name": "SummarizeWithin", "displayName": "Summarize Within", "description": "Overlays a polygon layer with another layer to summarize the number of points, length of the lines, or area of the polygons within each polygon, and calculate attribute field statistics about the features within the polygons.", "category": "", "helpUrl": "https://terrene.njaes.rutgers.edu:6443/arcgis/rest/directories/arcgisoutput/Tools/SummarizeWithin_GPServer/Tools_SummarizeWithin/SummarizeWithin.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "in_sum_features", "dataType": "GPFeatureRecordSetLayer", "displayName": "Input Summary Features", "description": "The point, line, or polygon features that will be summarized for each polygon in the input polygons.", "direction": "esriGPParameterDirectionInput", "filter": { "type": "featureClass", "list": [ "esriGeometryPoint", "esriGeometryMultipoint", "esriGeometryPolygon", "esriGeometryPolyline" ] }, "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 102711, "latestWkid": 3424 }, "fields": [ { "name": "OBJECTID_1", "type": "esriFieldTypeOID", "alias": "OBJECTID_1" }, { "name": "OBJECTID", "type": "esriFieldTypeSmallInteger", "alias": "OBJECTID" }, { "name": "MUN", "type": "esriFieldTypeString", "alias": "MUN", "length": 25 }, { "name": "COUNTY", "type": "esriFieldTypeString", "alias": "COUNTY", "length": 10 }, { "name": "MUN_LABEL", "type": "esriFieldTypeString", "alias": "MUN_LABEL", "length": 30 }, { "name": "MUN_TYPE", "type": "esriFieldTypeString", "alias": "MUN_TYPE", "length": 8 }, { "name": "NAME", "type": "esriFieldTypeString", "alias": "NAME", "length": 30 }, { "name": "GNIS_NAME", "type": "esriFieldTypeString", "alias": "GNIS_NAME", "length": 33 }, { "name": "GNIS", "type": "esriFieldTypeString", "alias": "GNIS", "length": 7 }, { "name": "SSN", "type": "esriFieldTypeString", "alias": "SSN", "length": 4 }, { "name": "MUN_CODE", "type": "esriFieldTypeString", "alias": "MUN_CODE", "length": 4 }, { "name": "KEY", "type": "esriFieldTypeString", "alias": "KEY", "length": 1 }, { "name": "CENSUS2010", "type": "esriFieldTypeString", "alias": "CENSUS2010", "length": 10 }, { "name": "ACRES", "type": "esriFieldTypeDouble", "alias": "ACRES" }, { "name": "SQ_MILES", "type": "esriFieldTypeDouble", "alias": "SQ_MILES" }, { "name": "POP2010", "type": "esriFieldTypeInteger", "alias": "POP2010" }, { "name": "POP2000", "type": "esriFieldTypeInteger", "alias": "POP2000" }, { "name": "POP1990", "type": "esriFieldTypeInteger", "alias": "POP1990" }, { "name": "POP1980", "type": "esriFieldTypeInteger", "alias": "POP1980" }, { "name": "POPDEN2010", "type": "esriFieldTypeInteger", "alias": "POPDEN2010" }, { "name": "POPDEN2000", "type": "esriFieldTypeInteger", "alias": "POPDEN2000" }, { "name": "POPDEN1990", "type": "esriFieldTypeInteger", "alias": "POPDEN1990" }, { "name": "POPDEN1980", "type": "esriFieldTypeInteger", "alias": "POPDEN1980" }, { "name": "GLOBALID", "type": "esriFieldTypeString", "alias": "GLOBALID", "length": 38 }, { "name": "Shape_Leng", "type": "esriFieldTypeDouble", "alias": "Shape_Leng" }, { "name": "BUFF_DIST", "type": "esriFieldTypeDouble", "alias": "BUFF_DIST" }, { "name": "ORIG_FID", "type": "esriFieldTypeInteger", "alias": "ORIG_FID" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "out_feature_class", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Feature Class", "description": "The output polygon feature class containing the same geometries and attributes as the input polygons. The feature class will include additional attributes for the number of points, length of lines, and area of polygons inside each input polygon and statistics about those features.", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 102711, "latestWkid": 3424 }, "fields": [ { "name": "OBJECTID_1", "type": "esriFieldTypeOID", "alias": "OBJECTID_1" }, { "name": "OBJECTID", "type": "esriFieldTypeSmallInteger", "alias": "OBJECTID" }, { "name": "STATEFP20", "type": "esriFieldTypeString", "alias": "STATEFP20", "length": 2 }, { "name": "COUNTYFP20", "type": "esriFieldTypeString", "alias": "COUNTYFP20", "length": 3 }, { "name": "TRACTCE20", "type": "esriFieldTypeString", "alias": "TRACTCE20", "length": 6 }, { "name": "GEOID20", "type": "esriFieldTypeString", "alias": "GEOID20", "length": 11 }, { "name": "NAME20", "type": "esriFieldTypeString", "alias": "NAME20", "length": 7 }, { "name": "NAMELSAD20", "type": "esriFieldTypeString", "alias": "NAMELSAD20", "length": 12 }, { "name": "MTFCC20", "type": "esriFieldTypeString", "alias": "MTFCC20", "length": 5 }, { "name": "FUNCSTAT20", "type": "esriFieldTypeString", "alias": "FUNCSTAT20", "length": 1 }, { "name": "ALAND20", "type": "esriFieldTypeInteger", "alias": "ALAND20" }, { "name": "AWATER20", "type": "esriFieldTypeInteger", "alias": "AWATER20" }, { "name": "INTPTLAT20", "type": "esriFieldTypeString", "alias": "INTPTLAT20", "length": 11 }, { "name": "INTPTLON20", "type": "esriFieldTypeString", "alias": "INTPTLON20", "length": 12 }, { "name": "Shape__Are", "type": "esriFieldTypeDouble", "alias": "Shape__Are" }, { "name": "Shape__Len", "type": "esriFieldTypeDouble", "alias": "Shape__Len" }, { "name": "sum_Area_SQUAREFEET", "type": "esriFieldTypeDouble", "alias": "Summarized Area in SQUAREFEET" }, { "name": "Polygon_Count", "type": "esriFieldTypeInteger", "alias": "Count of Polygons" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "shape_unit", "dataType": "GPString", "displayName": "Shape Unit", "description": "Specifies the unit that will be used when calculating shape summary attributes. If the input summary features are points, no shape unit is necessary, since only the count of points in each input polygon is added.If the input summary features are lines, specify a linear unit. If the input summary features are polygons, specify an areal unit.Meters\u2014The unit will be meters.Kilometers\u2014The unit will be kilometers.Feet\u2014The unit will be feet.Yards\u2014The unit will be yards.Miles\u2014The unit will be miles.Acres\u2014The unit will be acres.Hectares\u2014The unit will be hectares.Square meters\u2014The unit will be square meters.Square kilometers\u2014The unit will be square kilometers.Square feet\u2014The unit will be square feet.Square yards\u2014The unit will be square yards.Square miles\u2014The unit will be square miles.", "direction": "esriGPParameterDirectionInput", "defaultValue": "SQUAREFEET", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Acres", "Hectares", "Square meters", "Square kilometers", "Square feet", "Square yards", "Square miles" ] }, { "name": "group_field", "dataType": "Field", "displayName": "Group Field", "description": "An attribute field from the input summary features that will be used for grouping. Features that have the same group field value will be combined and summarized with other features with the same group field value.When a group field is provided, the Output Grouped Table parameter value is required.", "direction": "esriGPParameterDirectionInput", "dependency": "in_sum_features", "filter": { "type": "field", "list": [ "esriFieldTypeSmallInteger", "esriFieldTypeInteger", "esriFieldTypeSingle", "esriFieldTypeDouble", "esriFieldTypeString", "", "esriFieldTypeDate", "", "", "" ] }, "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "add_min_maj", "dataType": "GPBoolean", "displayName": "Add minority and majority attributes", "description": "Specifies whether minority and majority fields will be added to the output. This parameter allows you to determine which group field value is the minority (least dominant) and the majority (most dominant) within each input polygon.This parameter is active if you provided a Group Field parameter value.Unchecked\u2014Minority and majority fields will not be added to the output. This is the default.Checked\u2014Minority and majority fields will be added to the output.", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "out_group_table", "dataType": "GPRecordSet", "displayName": "Output Grouped Table", "description": "An output table that includes summary fields for each group of summary features for each input polygon.The table will have the following attribute fields:Join_ID\u2014An ID corresponding to an ID field added to the output feature classThe group fieldA shape summary fieldOne field for each summary fieldA percentage fieldThis parameter is required when the Group Field parameter value is provided.", "direction": "esriGPParameterDirectionOutput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }