{ "name": "CalculateDistance", "displayName": "CalculateDistance", "description": "Calculates the Euclidean distance from a single source or set of sources.", "category": "", "helpUrl": "https://gis.cityoffargo.com/arcgis/rest/directories/arcgisoutput/System/RasterAnalysisTools_GPServer/System_RasterAnalysisTools/CalculateDistance.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "inputSourceRasterOrFeatures", "dataType": "GPString", "displayName": "inputSourceRasterOrFeatures", "description": "The layer that defines the sources to calculate the distance to. The layer can be image service or feature service.For image service, the input type can be integer or floating point.For feature service, the input can be point, line or polygon.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "outputDistanceName", "dataType": "GPString", "displayName": "outputDistanceName", "description": "The name of the output distance raster service.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "maximumDistance", "dataType": "GPLinearUnit", "displayName": "maximumDistance", "description": "The maximum distance to calculate out to.The units can be Kilometers, Meters, Miles, Yards, or Feet.The default units are Meters.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputCellSize", "dataType": "GPLinearUnit", "displayName": "outputCellSize", "description": "Set the cell size and units for the output raster.The units can be Kilometers, Meters, Miles, Yards, or Feet.The default units are Meters.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputDirectionName", "dataType": "GPString", "displayName": "outputDirectionName", "description": "The name of the output direction raster service.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputAllocationName", "dataType": "GPString", "displayName": "outputAllocationName", "description": "The name of the output allocation raster service.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "allocationField", "dataType": "GPString", "displayName": "allocationField", "description": "A field on the source input that holds the values that define each source. It must be of type integer.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "distanceMethod", "dataType": "GPString", "displayName": "distanceMethod", "description": "Specifies whether to calculate the distance using a planar (flat earth) or a geodesic (ellipsoid) method.Planar\u2014The distance calculation will be performed on a projected flat plane using a 2D Cartesian coordinate system. This is the default.Geodesic\u2014The distance calculation will be performed on the ellipsoid. Therefore, regardless of input or output projection, the results do not change.", "direction": "esriGPParameterDirectionInput", "defaultValue": "PLANAR", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "inputBarrierRasterOrFeatures", "dataType": "GPString", "displayName": "inputBarrierRasterOrFeatures", "description": "Dataset that defines the barriers.The barriers can be defined by an integer or floating point raster, or a feature layer.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputBackDirectionName", "dataType": "GPString", "displayName": "outputBackDirectionName", "description": "The name of the output back direction raster service.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "context", "dataType": "GPString", "displayName": "context", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputDistanceRaster", "dataType": "GPString", "displayName": "outputDistanceRaster", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "outputDirectionRaster", "dataType": "GPString", "displayName": "outputDirectionRaster", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "outputBackDirectionRaster", "dataType": "GPString", "displayName": "outputBackDirectionRaster", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "outputAllocationRaster", "dataType": "GPString", "displayName": "outputAllocationRaster", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }