Display Name: CalculateDistance
Description: Calculates the Euclidean distance from a single source or set of sources.
Category:
Help URL: https://spatialags.vhb.com/arcgis/rest/directories/arcgisoutput/System/RasterAnalysisTools_GPServer/System_RasterAnalysisTools/CalculateDistance.htm
Execution Type: esriExecutionTypeAsynchronous
Parameters:
Parameter: inputSourceRasterOrFeatures
Data Type: GPString
Display Name 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
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: outputDistanceName
Data Type: GPString
Display Name outputDistanceName
Description: The name of the output distance raster service.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: maximumDistance
Data Type: GPLinearUnit
Display Name 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
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: outputCellSize
Data Type: GPLinearUnit
Display Name 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
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: outputDirectionName
Data Type: GPString
Display Name outputDirectionName
Description: The name of the output direction raster service.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: outputAllocationName
Data Type: GPString
Display Name outputAllocationName
Description: The name of the output allocation raster service.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: allocationField
Data Type: GPString
Display Name allocationField
Description: A field on the source input that holds the values that define each source. It must be of type integer.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: distanceMethod
Data Type: GPString
Display Name distanceMethod
Description: Specifies whether to calculate the distance using a planar (flat earth) or a geodesic (ellipsoid) method.Planar—The distance calculation will be performed on a projected flat plane using a 2D Cartesian coordinate system. This is the default.Geodesic—The distance calculation will be performed on the ellipsoid. Therefore, regardless of input or output projection, the results do not change.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: PLANAR
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: inputBarrierRasterOrFeatures
Data Type: GPString
Display Name 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
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: outputBackDirectionName
Data Type: GPString
Display Name outputBackDirectionName
Description: The name of the output back direction raster service.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: context
Data Type: GPString
Display Name context
Description:
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: outputDistanceRaster
Data Type: GPString
Display Name outputDistanceRaster
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Parameter: outputDirectionRaster
Data Type: GPString
Display Name outputDirectionRaster
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Parameter: outputBackDirectionRaster
Data Type: GPString
Display Name outputBackDirectionRaster
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Parameter: outputAllocationRaster
Data Type: GPString
Display Name outputAllocationRaster
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Supported Operations:
Submit Job
Child Resources:
Metadata