{ "name": "FindNearest", "displayName": "FindNearest", "description": "Measures the straight-line distance, driving distance, or driving time from features in the analysis layer to features in the near layer, and copies the nearest features in the near layer to a new layer. Returns a layer containing the nearest features and a line layer that links the start locations to their nearest locations.", "category": "", "helpUrl": "https://test.opengis.regina.ca/arcgis/rest/directories/arcgisoutput/System/SpatialAnalysisTools_GPServer/System_SpatialAnalysisTools/FindNearest.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "analysisLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "analysisLayer", "description": "For each feature in this layer, the task finds the nearest features from the nearLayer.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "nearLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "nearLayer", "description": "The features from which the nearest locations are found.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "measurementType", "dataType": "GPString", "displayName": "measurementType", "description": "The nearest locations can be determined by measuring straight-line distance, driving distance, or driving time", "direction": "esriGPParameterDirectionInput", "defaultValue": "StraightLine", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "maxCount", "dataType": "GPLong", "displayName": "maxCount", "description": "The maximum number of near locations to find for each feature in analysisLayer.", "direction": "esriGPParameterDirectionInput", "defaultValue": 100, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "searchCutoff", "dataType": "GPDouble", "displayName": "searchCutoff", "description": "Limits the search range to this value", "direction": "esriGPParameterDirectionInput", "defaultValue": 2147483647, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "searchCutoffUnits", "dataType": "GPString", "displayName": "searchCutoffUnits", "description": "The units for the value specified as searchCutoff", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Miles", "Yards", "Feet", "Meters", "Kilometers", "NauticalMiles" ] }, { "name": "timeOfDay", "dataType": "GPDate", "displayName": "timeOfDay", "description": "When measurementType is DrivingTime, this value specifies the time of day to be used for driving time calculations based on traffic.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "timeZoneForTimeOfDay", "dataType": "GPString", "displayName": "timeZoneForTimeOfDay", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "GeoLocal", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "UTC", "GeoLocal" ] }, { "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": "includeRouteLayers", "dataType": "GPBoolean", "displayName": "includeRouteLayers", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "pointBarrierLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "pointBarrierLayer", "description": "Specify one or more points to act as temporary restrictions or represent additional time or distance that may be required to travel on the underlying streets.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "lineBarrierLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "lineBarrierLayer", "description": "Specify one or more lines that prohibit travel anywhere the lines intersect the streets.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "polygonBarrierLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "polygonBarrierLayer", "description": "Specify polygons that either completely restrict travel or proportionately scale the time or distance required to travel on the streets intersected by the polygons.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "nearestLayer", "dataType": "GPString", "displayName": "nearestLayer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "connectingLinesLayer", "dataType": "GPString", "displayName": "connectingLinesLayer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "routeLayerItems", "dataType": "GPString", "displayName": "routeLayerItems", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }