Display Name: OptimalPathAsLine
Description: Calculates the optimal path from a source to a destination as a
line.
Category:
Help URL: http://agrilanduse.doa.gov.my/mygeosvr/rest/directories/arcgisoutput/System/RasterAnalysisTools_GPServer/System_RasterAnalysisTools/OptimalPathAsLine.htm
Execution Type: esriExecutionTypeAsynchronous
Parameters:
Parameter: inputDestinationRasterOrFeatures
Data Type: GPString
Display Name inputDestinationRasterOrFeatures
Description: An image service or feature service that identifies those locations from which the least-cost path is determined to the least costly source.If the input is an image service, the input consists of cells that have valid values (zero is a valid value), and the remaining cells must be assigned NoData.
Direction: esriGPParameterDirectionInput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: inputDistanceAccumulationRaster
Data Type: GPString
Display Name inputDistanceAccumulationRaster
Description: The input distance accumulation raster.
Direction: esriGPParameterDirectionInput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: inputBackDirectionRaster
Data Type: GPString
Display Name inputBackDirectionRaster
Description: The name of the raster used to determine the path to return to a source via the least-cost path or the shortest path.For each cell in the back link or direction raster, a value identifies the neighbor that is the next cell on the path from the cell to a source cell.
Direction: esriGPParameterDirectionInput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: outputPolylineName
Data Type: GPString
Display Name outputPolylineName
Description: The output feature service that will contain the least cost path.
Direction: esriGPParameterDirectionInput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: destinationField
Data Type: GPString
Display Name destinationField
Description: The field that will be used to obtain values for the destination locations.
Direction: esriGPParameterDirectionInput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: pathType
Data Type: GPString
Display Name pathType
Description: Specifies the manner in which the values and zones on the input destination data will be interpreted in the cost path calculations.Best single—For all cells on the input destination data, the least-cost path will be derived from the cell with the minimum of the least-cost paths to source cells.Each zone—For each zone on the input destination data a least-cost path is determined. With this option, the least-cost path for each zone will begin at the cell with the lowest cost distance weighting in the zone. This is the default.
Each cell—For each cell with valid values on the input destination data, a least-cost path is determined and saved on the output raster. With this option, each cell of the input destination data will be treated separately, and a least-cost path will be determined for each from cell.
Direction: esriGPParameterDirectionInput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ BEST_SINGLE, EACH_CELL, EACH_ZONE ]
Parameter: context
Data Type: GPString
Display Name context
Description:
Direction: esriGPParameterDirectionInput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: outputPolylineFeatures
Data Type: GPString
Display Name outputPolylineFeatures
Description:
Direction: esriGPParameterDirectionOutput
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:
Supported Operations:
Submit Job