{ "name": "CostPathAsPolyline", "displayName": "CostPathAsPolyline", "description": "Calculates the least-cost path from a source to a destination as a line feature.", "category": "", "helpUrl": "http://agrilanduse.doa.gov.my/mygeosvr/rest/directories/arcgisoutput/System/RasterAnalysisTools_GPServer/System_RasterAnalysisTools/CostPathAsPolyline.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "inputDestinationRasterOrFeatures", "dataType": "GPString", "displayName": "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", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "inputCostDistanceRaster", "dataType": "GPString", "displayName": "inputCostDistanceRaster", "description": "The cost distance or Euclidean distance raster to be used to determine the least-cost path from the sources to the destinations.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "inputCostBacklinkRaster", "dataType": "GPString", "displayName": "inputCostBacklinkRaster", "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", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "outputPolylineName", "dataType": "GPString", "displayName": "outputPolylineName", "description": "The output feature service that will contain the least cost path.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "pathType", "dataType": "GPString", "displayName": "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\u2014For 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\u2014For each zone on the input destination data, a least-cost path is determined and saved on the output raster. With this option, the least-cost path for each zone will begin at the cell with the lowest cost distance weighting in the zone.Each cell\u2014For 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", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "destinationField", "dataType": "GPString", "displayName": "destinationField", "description": "The field that will be used to obtain values for the destination locations.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "context", "dataType": "GPString", "displayName": "context", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputPolylineFeatures", "dataType": "GPString", "displayName": "outputPolylineFeatures", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }