{ "name": "AggregatePoints", "displayName": "AggregatePoints", "description": "Aggregate points task allows you to aggregate or count the total number of points that are distributed within specified areas or boundaries (polygons). You can also summarize Sum, Mean, Min, Max and Standard deviation calculations for attributes of the point layer to understand the general characteristics of aggregated points. ", "category": "", "helpUrl": "https://gis.cityoffargo.com/arcgis/rest/directories/arcgisoutput/System/SpatialAnalysisTools_GPServer/System_SpatialAnalysisTools/AggregatePoints.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "pointLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "pointLayer", "description": "Point layer to be aggregated", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "polygonLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "polygonLayer", "description": "Polygon layer to which the points should be aggregated.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "keepBoundariesWithNoPoints", "dataType": "GPBoolean", "displayName": "keepBoundariesWithNoPoints", "description": "Specify whether the polygons without any points should be returned in the output.", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "summaryFields", "dataType": "GPMultiValue:GPString", "displayName": "summaryFields", "description": "A list of field names and summary type. Example [\u201cfieldName1 summaryType1\u201d,\u201dfieldName2 summaryType2\u201d].", "direction": "esriGPParameterDirectionInput", "defaultValue": [], "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "groupByField", "dataType": "GPString", "displayName": "groupByField", "description": "A field name from PointLayer based on which the points will be grouped.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "minorityMajority", "dataType": "GPBoolean", "displayName": "minorityMajority", "description": "This boolean parameter is applicable only when a groupByField is specified. If true, the minority (least dominant) or the majority (most dominant) attribute values within each group, within each boundary will be calculated.", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "percentPoints", "dataType": "GPBoolean", "displayName": "percentPoints", "description": "This boolean parameter is applicable only when a groupByField is specified. If set to true, the percentage count of points for each unique groupByField value is calculated.", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputName", "dataType": "GPString", "displayName": "outputName", "description": "Additional properties such as output feature service name.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "context", "dataType": "GPString", "displayName": "context", "description": "Additional settings such as processing extent and output spatial reference.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "binType", "dataType": "GPString", "displayName": "binType", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "SQUARE", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "SQUARE", "HEXAGON" ] }, { "name": "binSize", "dataType": "GPDouble", "displayName": "binSize", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "binSizeUnit", "dataType": "GPString", "displayName": "binSizeUnit", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Meters", "Kilometers", "Feet", "Yards", "Miles", "NauticalMiles" ] }, { "name": "aggregatedLayer", "dataType": "GPString", "displayName": "aggregatedLayer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "groupSummary", "dataType": "GPString", "displayName": "groupSummary", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }