laptop and a wrench

漏洞

Ready-To-Use Services (logistics) fail with an error message, "ERROR 030158: Invalid travel mode value: <travel mode name>" returned if a custom travel mode name from ArcGIS Online is provided.

上次发布: October 30, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000125736
已提交October 3, 2019
上次修改时间July 24, 2025
适用范围ArcGIS Pro
找到的版本2.4.1
操作系统Windows OS
修正版本2.5
状态Fixed

解决办法

When working with the ready to use service in ArcMap or ArcGIS Pro, provide the ‘Travel Mode Settings’ present in the ‘Supported Travel Modes’ table in the ‘Travel mode name’ instead of just the name:{"attributeParameterValues": [{"attributeName": "Avoid Unpaved Roads", "parameterName": "Restriction Usage", "value": "AVOID_HIGH"}, {"attributeName": "Avoid Private Roads", "parameterName": "Restriction Usage", "value": "AVOID_MEDIUM"}, {"attributeName": "Driving an Automobile", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "Through Traffic Prohibited", "parameterName": "Restriction Usage", "value": "AVOID_HIGH"}, {"attributeName": "Roads Under Construction Prohibited", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "Avoid Gates", "parameterName": "Restriction Usage", "value": "AVOID_MEDIUM"}, {"attributeName": "Avoid Express Lanes", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "Avoid Carpool Roads", "parameterName": "Restriction Usage", "value": "PROHIBITED"}, {"attributeName": "TravelTime", "parameterName": "Vehicle Maximum Speed (km/h)", "value": "0.0"}], "restrictionAttributeNames": ["Avoid Unpaved Roads", "Avoid Private Roads", "Driving an Automobile", "Through Traffic Prohibited", "Roads Under Construction Prohibited", "Avoid Gates", "Avoid Express Lanes", "Avoid Carpool Roads"], "useHierarchy": true, "simplificationTolerance": 10, "simplificationToleranceUnits": "esriMeters", "uturnAtJunctions": "esriNFSBAtDeadEndsAndIntersections", "distanceAttributeName": "Miles", "timeAttributeName": "TravelTime", "impedanceAttributeName": "TravelTime", "type": "AUTOMOBILE", "description": "Test", "name": "Rohit_Test", "id": "QWKhzfWcdATOvpCn"}When working with ArcGIS Pro (Network Analysis Extension is required):
  1. Navigate to the Analysis menu. Under the Tools category, select the Network Analysis drop down.
  2. Select Closest Facility.
  3. Navigate to the Closest Facility ribbon menu. Select the travel mode in the mode drop-down.

重现步骤

漏洞 ID: BUG-000125736

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项