laptop and a wrench

Bogue

The Vehicle Routing Problem service REST API call does not respect the default_date parameter.

Dernière publication: February 10, 2015 ArcGIS Online
Numéro d’ID de bogue BUG-000084649
EnvoiJanuary 21, 2015
Dernière modificationOctober 8, 2025
S’applique àArcGIS Online
Version trouvée3.5
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutAs Designed

Informations supplémentaires

The "default_date" parameter on the Vehicle Routing Problem (VRP) service is only used to select a date. According to the documentation, “Only the date portion of this value will be used; the time-specific portion of the value will be ignored.” Refer to the documentation for more information. To control the actual route start time, specify "EarliestStartTime" in the routes parameter. Refer to the documentation for more information. The "EarliestStartTime" in the routes works together with the "default_date" parameter to control the start time for each route (vehicle). The purpose of the "default_date" parameter is to allow the same set of routes to be reused without having to adjust the "EarliestStartTime" daily to match different dates. When the routes start at the same time each day, the same "EarliestStartTime" can be set for each route. By updating "default_date" for each day, the analysis can be executed for different dates without modifying the routes themselves. Another important point is that the VRP service uses a time-neutral Origin–Destination Cost Matrix (OD) to determine route assignment and sequencing. The values from this time-neutral OD are used to populate the time and distance costs for the out_stops and out_routes fields, ensuring consistency with the optimization logic. Once the sequence of stops and depot visits is finalized for each route, the Route solver generates directions based on the actual starting time of the route. This allows the directions fields to include more accurate arrival times that account for traffic. To observe these differences, use the "out_directions" output.

Étapes pour reproduire

ID de bogue: BUG-000084649

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement