{ "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://dcgis.dekalbcountyga.gov/hosted/rest/directories/arcgisoutput/DelinquentParcelsByZipcode_GPServer/DelinquentParcelsByZipcode/SummarizeWithin.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "in_polygons", "dataType": "GPString", "displayName": "Input Polygons", "description": "The polygons used to summarize the features, or portions of features, in the input summary layer.", "direction": "esriGPParameterDirectionInput", "defaultValue": "DeKalb Zip Code", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "EGISPUB.GIS.DelinquentParcelsByZipcode", "DeKalb Zip Code", "DeKalbZipCode_SummarizeWithin" ] }, { "name": "in_sum_features", "dataType": "GPString", "displayName": "Input Summary Features", "description": "The point, line, or polygon features that will be summarized for each polygon in the input polygons.", "direction": "esriGPParameterDirectionInput", "defaultValue": "EGISPUB.GIS.DelinquentTaxPoint", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "EGISPUB.GIS.DelinquentParcelsByZipcode", "DeKalb Zip Code", "DeKalbZipCode_SummarizeWithin", "EGISPUB.GIS.DelinquentTaxPoint" ] }, { "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 with additional new attributes for the number 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": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "ZIP_CODE", "type": "esriFieldTypeString", "alias": "ZIP Code", "length": 10 }, { "name": "PO_NAME", "type": "esriFieldTypeString", "alias": "Post Office Name", "length": 100 }, { "name": "STATE", "type": "esriFieldTypeString", "alias": "State Abbreviation", "length": 50 }, { "name": "POPULATION", "type": "esriFieldTypeInteger", "alias": "2021 Total Population" }, { "name": "POP_SQMI", "type": "esriFieldTypeDouble", "alias": "People per square mile" }, { "name": "SQMI", "type": "esriFieldTypeDouble", "alias": "Area in square miles" }, { "name": "Point_Count", "type": "esriFieldTypeInteger", "alias": "Count of Points" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "keep_all_polygons", "dataType": "GPBoolean", "displayName": "Keep all input polygons", "description": "Specifies whether all input polygons or only those intersecting or containing at least one input summary feature will be copied to the output feature class.Checked\u2014All input polygons will be copied to the output feature class. This is the default.Unchecked\u2014Only input polygons that intersect or contain at least one input summary feature will be copied to the output feature class.", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "sum_fields", "dataType": "GPValueTable", "displayName": "Summary Fields", "description": "A list of attribute field names from the input summary features, as well as statistical summary types that will be calculated for those attribute fields for all points in each polygon.Summary fields must be numeric. Text and other attribute field types are not supported.The following are the statistic types:Sum\u2014The total value of all the points in each polygon will be calculated.Mean\u2014The average of all the points in each polygon will be calculated.Min\u2014The smallest value of all the points in each polygon will be identified.Max\u2014The largest value of all the points in each polygon will be identified.Stddev\u2014The standard deviation of all the points in each polygon will be calculated.", "direction": "esriGPParameterDirectionInput", "dependency": "in_sum_features", "defaultValue": [], "parameterType": "esriGPParameterTypeOptional", "category": "", "parameterInfos": [ { "name": "Field", "dataType": "Field", "displayName": "Field", "filter": { "type": "field", "list": [ "esriFieldTypeSmallInteger", "esriFieldTypeInteger", "esriFieldTypeSingle", "esriFieldTypeDouble" ] } }, { "name": "Statistic", "dataType": "GPString", "displayName": "Statistic", "choiceList": [ "Sum", "Mean" ] } ] }, { "name": "sum_shape", "dataType": "GPBoolean", "displayName": "Add shape summary attributes", "description": "Specifies whether attributes for the number of points, length of lines, and area of polygon features summarized in each input polygon will be added to the output.Checked\u2014Shape summary attributes will be added to the output feature class. This is the default.Unchecked\u2014Shape summary attributes will not be added to the output feature class.", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "shape_unit", "dataType": "GPString", "displayName": "Shape Unit", "description": "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": "SQUAREKILOMETERS", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "ACRES", "HECTARES", "SQUAREMETERS", "SQUAREKILOMETERS", "SQUAREFEET", "SQUAREYARDS", "SQUAREMILES", "METERS", "KILOMETERS", "FEET", "YARDS", "MILES" ] }, { "name": "group_field", "dataType": "Field", "displayName": "Group Field", "description": "An attribute field from the input summary features that is 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 specified, the Output Grouped Table parameter is required.", "direction": "esriGPParameterDirectionInput", "dependency": "in_sum_features", "filter": { "type": "field", "list": [ "esriFieldTypeSmallInteger", "esriFieldTypeInteger", "esriFieldTypeSingle", "esriFieldTypeDouble", "esriFieldTypeString" ] }, "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 specified 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": "add_group_percent", "dataType": "GPBoolean", "displayName": "Add group percentages", "description": "Specifies whether a percentage attribute field will be added to the output. This parameter allows you to determine the percentage of each attribute value in each group.This parameter is active if you specified a Group Field parameter value.Unchecked\u2014A percentage attribute field will not be added to the output. This is the default.Checked\u2014A percentage attribute field 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 of the summary fieldsPercentage fieldThis parameter is required when the Group Field parameter value is specified.", "direction": "esriGPParameterDirectionOutput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "esri_out_feature_service_name", "dataType": "GPString", "displayName": "Output Feature Service Name", "description": "The name of the optional feature service to create on the federated server containing the result of this tool. If no name is specified an output feature service will not be created.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }