{ "name": "DetermineTravelCostPathAsPolyline", "displayName": "DetermineTravelCostPathAsPolyline", "description": "Calculates the least cost polyline path between sources and destinations.", "category": "", "helpUrl": "https://terra.library.brocku.ca/arcgis/rest/directories/arcgisoutput/System/RasterAnalysisTools_GPServer/System_RasterAnalysisTools/DetermineTravelCostPathAsPolyline.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "inputSourceRasterOrFeatures", "dataType": "GPString", "displayName": "inputSourceRasterOrFeatures", "description": "An image service or feature service that identifies the cells from which the least-cost path is determined to the destinations.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": "inputCostRaster", "dataType": "GPString", "displayName": "inputCostRaster", "description": "The name of a cost raster image service to be used to determine the least-cost path from the sources to the destinations.The value at each cell location represents the cost-per-unit distance for moving through the cell. Each cell location value is multiplied by the cell resolution while also compensating for diagonal movement to obtain the total cost of passing through the cell.The values of the cost raster can be integer or floating point, but they cannot be negative or zero (you cannot have a negative or zero cost).", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "inputDestinationRasterOrFeatures", "dataType": "GPString", "displayName": "inputDestinationRasterOrFeatures", "description": "An image service or feature service that identifies the cells to which the least-cost path is calculated.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "outputPolylineName", "dataType": "GPString", "displayName": "outputPolylineName", "description": "The name of the output polyline feature service.The polyline feature service of the optimum (least-cost) paths connecting sources and destinations.Each path (or line) is uniquely numbered, and has an additional field in the attribute table called DestID, which connects it back to the unique identifier on the destination raster.Since each path is represented by a unique line, there can be multiple lines in locations where paths travel the same route.", "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.To each cell\u2014For each cell or location with valid values on the input destination data, a least-cost path is determined and saved on the output. With this option, each cell or location of the input destination data is treated separately, and a least-cost path is determined for each from cell.To each zone\u2014For each zone on the input destination data, a least-cost path is determined and saved to the output. With this option, the least-cost path for each zone begins at the location with the lowest cost distance weighting in the zone.Best single\u2014For all locations on the input destination data, the least-cost path is derived from the location with the minimum of the least-cost paths to source locations. This is the default.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "destinationField", "dataType": "GPString", "displayName": "destinationField", "description": "The field used to obtain values for the destination locations.Input feature data must contain at least one valid integer field.", "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": "" } ] }