{ "name": "ConnectOriginsToDestinations", "displayName": "ConnectOriginsToDestinations", "description": "Calculates routes between pairs of points.", "category": "", "helpUrl": "https://gis.cityoffargo.com/arcgis/rest/directories/arcgisoutput/System/SpatialAnalysisTools_GPServer/System_SpatialAnalysisTools/ConnectOriginsToDestinations.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "originsLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "originsLayer", "description": "The routes start from points in the origins layer.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "destinationsLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "destinationsLayer", "description": "The routes end at points in the destinations layer.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "measurementType", "dataType": "GPString", "displayName": "measurementType", "description": "The routes can be determined by measuring travel distance or travel time along street network using different travel modes or by measuring straight line distance. ", "direction": "esriGPParameterDirectionInput", "defaultValue": "DrivingTime", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "originsLayerRouteIDField", "dataType": "GPString", "displayName": "originsLayerRouteIDField", "description": "The field in the origins layer containing the IDs that are used to match an origin with a destination.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "destinationsLayerRouteIDField", "dataType": "GPString", "displayName": "destinationsLayerRouteIDField", "description": "The field in the destinations layer containing the IDs that are used to match an origin with a destination.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "timeOfDay", "dataType": "GPDate", "displayName": "timeOfDay", "description": "When measurementType is DrivingTime, this value specifies the time of day to be used for driving time calculations based on traffic. WalkingTime and TruckingTime measurementType do not support calculations based on traffic.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "timeZoneForTimeOfDay", "dataType": "GPString", "displayName": "timeZoneForTimeOfDay", "description": "Determines if the value specified for timeOfDay is specified in UTC or in a time zone that is local to the location of the origins.", "direction": "esriGPParameterDirectionInput", "defaultValue": "GeoLocal", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "GeoLocal", "UTC" ] }, { "name": "outputName", "dataType": "GPString", "displayName": "outputName", "description": "Additional properties such as output feature service name.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "context", "dataType": "GPString", "displayName": "context", "description": "Additional settings such as processing extent and output spatial reference.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "includeRouteLayers", "dataType": "GPBoolean", "displayName": "includeRouteLayers", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "pointBarrierLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "pointBarrierLayer", "description": "Specify one or more points to act as temporary restrictions or represent additional time or distance that may be required to travel on the underlying streets.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "lineBarrierLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "lineBarrierLayer", "description": "Specify one or more lines that prohibit travel anywhere the lines intersect the streets.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "polygonBarrierLayer", "dataType": "GPFeatureRecordSetLayer", "displayName": "polygonBarrierLayer", "description": "Specify polygons that either completely restrict travel or proportionately scale the time or distance required to travel on the streets intersected by the polygons.", "direction": "esriGPParameterDirectionInput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "routeShape", "dataType": "GPString", "displayName": "routeShape", "description": "Specify the shape of the line connecting origins to their destinations.", "direction": "esriGPParameterDirectionInput", "defaultValue": "FollowStreets", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "FollowStreets", "StraightLine" ] }, { "name": "routesLayer", "dataType": "GPString", "displayName": "routesLayer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "unassignedOriginsLayer", "dataType": "GPString", "displayName": "unassignedOriginsLayer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "unassignedDestinationsLayer", "dataType": "GPString", "displayName": "unassignedDestinationsLayer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "routeLayerItems", "dataType": "GPString", "displayName": "routeLayerItems", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }