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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動