{ "name": "MakeRouteAnalysisLayer", "displayName": "Make Route Analysis Layer", "description": "Makes a route network analysis layer and sets its analysis properties. A route analysis layer is useful for determining the best route between a set of network locations based on a specified network cost. The layer can be created using a local network dataset or a routing service hosted online or in a portal.", "category": "", "helpUrl": "https://geoportal.bogorkab.go.id/server/rest/directories/arcgisoutput/Onemap_Cibinong/Network_cibinong_GPServer/Onemap_Cibinong_Network_cibinong/MakeRouteAnalysisLayer.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "layer_name", "dataType": "GPString", "displayName": "Layer Name", "description": "The name of the network analysis layer to create.", "direction": "esriGPParameterDirectionInput", "defaultValue": "Route", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "travel_mode", "dataType": "GPString", "displayName": "Travel Mode", "description": "The name of the travel mode to use in the analysis. The travel mode represents a collection of network settings, such as travel restrictions and U-turn policies, that determine how a pedestrian, car, truck, or other medium of transportation moves through the network. Travel modes are defined on your network data source.An arcpy.na.TravelMode object and a string containing the valid JSON representation of a travel mode can also be used as input to the parameter.", "direction": "esriGPParameterDirectionInput", "defaultValue": "Travel Mode", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Travel Mode" ] }, { "name": "sequence", "dataType": "GPString", "displayName": "Sequence", "description": "Specifies whether the input stops must be visited in a particular order when calculating the optimal route. This option changes the route analysis from a shortest-path problem to a traveling salesperson problem (TSP).Use current order\u2014The stops will be visited in the input order. This is the default.Find best order\u2014The stops will be reordered to find the optimal route. This option changes the route analysis from a shortest-path problem to a traveling salesperson problem (TSP).Preserve both first and last stop\u2014Preserve the first and last stops by input order. The rest will be reordered to find the optimal route.Preserve first stop\u2014Preserve the first stop by input order. The rest will be reordered to find the optimal route.Preserve last stop\u2014Preserve the last stop by input order. The rest will be reordered to find the optimal route.", "direction": "esriGPParameterDirectionInput", "defaultValue": "USE_CURRENT_ORDER", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "USE_CURRENT_ORDER", "FIND_BEST_ORDER", "PRESERVE_BOTH", "PRESERVE_FIRST", "PRESERVE_LAST" ] }, { "name": "time_of_day", "dataType": "GPDate", "displayName": "Time of Day", "description": "The start date and time for the route. Route start time is typically used to find routes based on the impedance attribute that varies with the time of the day. For example, a start time of 7:00 a.m. could be used to find a route that considers rush hour traffic. The default value for this parameter is 8:00 a.m. A date and time can be specified as 10/21/05 10:30 AM. If the route spans multiple days and only the start time is specified, the current date is used.Instead of using a particular date, a day of the week can be specified using the following dates:Today\u201412/30/1899Sunday\u201412/31/1899Monday\u20141/1/1900Tuesday\u20141/2/1900Wednesday\u20141/3/1900Thursday\u20141/4/1900Friday\u20141/5/1900Saturday\u20141/6/1900For example, to specify that travel should begin at 5:00 p.m. on Tuesday, specify the parameter value as 1/2/1900 5:00 PM.After the solve, the start and end times of the route are populated in the output routes. These start and end times are also used when directions are generated.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "Time of Day" }, { "name": "time_zone", "dataType": "GPString", "displayName": "Time Zone", "description": "Specifies the time zone of the Time of Day parameter.Local time at locations\u2014The Time of Day parameter refers to the time zone in which the first stop of a route is located. This is the default.If you are generating many routes that start in multiple times zones, the start times are staggered in coordinated universal time (UTC). For example, a Time of Day value of 10:00 a.m., 2 January, would mean a start time of 10:00 a.m. eastern standard time (3:00 p.m. UTC) for routes beginning in the eastern time zone and 10:00 a.m. central standard time (4:00 p.m. UTC) for routes beginning in the central time zone. The start times are offset by one hour in UTC.The arrival and departure times and dates recorded in the output Stops feature class will refer to the local time zone of the first stop for each route.UTC\u2014The Time of Day parameter refers to coordinated universal time (UTC). Choose this option if you want to generate a route for a specific time, such as now, but aren't certain in which time zone the first stop will be located.If you are generating many routes spanning multiple times zones, the start times in UTC are simultaneous. For example, a Time of Day value of 10:00 a.m., 2 January, would mean a start time of 5:00 a.m. eastern standard time (10:00 a.m. UTC) for routes beginning in the eastern time zone and 4:00 a.m. central standard time (10:00 a.m. UTC) for routes beginning in the central time zone. Both routes would start at 10:00 a.m. UTC.The arrival and departure times and dates recorded in the output Stops feature class will refer to UTC.", "direction": "esriGPParameterDirectionInput", "defaultValue": "LOCAL_TIME_AT_LOCATIONS", "parameterType": "esriGPParameterTypeOptional", "category": "Time of Day", "choiceList": [ "UTC", "LOCAL_TIME_AT_LOCATIONS" ] }, { "name": "line_shape", "dataType": "GPString", "displayName": "Line Shape", "description": "Specifies the shape type for the route features that are output by the analysis.Along network\u2014The output routes will have the exact shape of the underlying network sources. The output includes route measurements for linear referencing. The measurements increase from the first stop and record the cumulative impedance to reach a given position.No lines\u2014No shape will be generated for the output routes.Straight lines\u2014The output route shape will be a single straight line between the stops.No matter which output shape type is chosen, the best route is always determined by the network impedance, never Euclidean distance. This means that only the route shapes are different, not the underlying traversal of the network.", "direction": "esriGPParameterDirectionInput", "defaultValue": "ALONG_NETWORK", "parameterType": "esriGPParameterTypeOptional", "category": "Output Geometry", "choiceList": [ "NO_LINES", "STRAIGHT_LINES", "ALONG_NETWORK" ] }, { "name": "accumulate_attributes", "dataType": "GPMultiValue:GPString", "displayName": "Accumulate Attributes", "description": "A list of cost attributes to be accumulated during analysis. These accumulated attributes are for reference only; the solver only uses the cost attribute used by your designated travel mode when solving the analysis.For each cost attribute that is accumulated, a Total_[Impedance] property is populated in the network analysis output features.This parameter is not available if the network data source is an ArcGIS Online service or the network data source is a service on a version of Portal for ArcGIS that does not support accumulation.", "direction": "esriGPParameterDirectionInput", "defaultValue": [], "parameterType": "esriGPParameterTypeOptional", "category": "Accumulate Attributes", "choiceList": [ "Length" ] }, { "name": "generate_directions_on_solve", "dataType": "GPBoolean", "displayName": "Generate Directions on Solve", "description": "Specifies whether directions will be generated when running the analysis.Checked\u2014Turn-by-turn directions will be generated on solve. This is the default.Unchecked\u2014Turn-by-turn directions will not be generated on solve.For an analysis in which generating turn-by-turn directions is not needed, leaving this option unchecked will reduce the time it takes to solve the analysis.", "direction": "esriGPParameterDirectionInput", "defaultValue": true, "parameterType": "esriGPParameterTypeOptional", "category": "Directions" }, { "name": "out_network_analysis_layer", "dataType": "GPString", "displayName": "Network Analyst Layer", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "Route", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "time_zone_for_time_fields", "dataType": "GPString", "displayName": "Time Zone for Time Fields", "description": "Specifies the time zone that will be used to interpret the time fields included in the input tables, such as the fields used for time windows.Local time at locations\u2014The dates and times in the time fields for the stop will be interpreted according to the time zone in which the stop is located. This is the default.UTC\u2014The dates and times in the time fields for the stop refer to coordinated universal time (UTC).", "direction": "esriGPParameterDirectionInput", "defaultValue": "LOCAL_TIME_AT_LOCATIONS", "parameterType": "esriGPParameterTypeOptional", "category": "Time of Day", "choiceList": [ "UTC", "LOCAL_TIME_AT_LOCATIONS" ] } ] }