laptop and a wrench

不具合

The GTFS To Public Transit Data Model tool incorrectly reports errors in General Transit Feed Specification (GTFS) data for stop_times.txt and trips.txt components.

ArcGIS Pro
不具合 ID 番号 BUG-000163441
送信されましたDecember 5, 2023
最終更新日June 5, 2024
適用対象ArcGIS Pro
見つかったバージョン3.1.3
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスAs Designed

参考情報

The General Transit Feed Specification (GTFS) dataset is not valid for use in the GTFS To Public Transit Data Model tool, and the tool's error correctly identifies the problem and informs the user. The blank arrival_time and departure_time values in the stop_times.txt file are allowed as per the GTFS specification, but the tool requires they have values or the values be interpolated using the provided option on the tool. This is explained in the tool documentation, https://pro.arcgis.com/en/pro-app/latest/tool-reference/public-transit/gtfs-to-public-transit-data-model.htm stating, "Although GTFS allows blank values for the arrival_time and departure_time fields in the stop_times.txt file, exact times are required by the Network Analyst public transit data model for consumption by the Public Transit evaluator in the network dataset. Check the Interpolate blank stop times parameter (interpolate = "INTERPOLATE" in Python) to estimate arrival and departure times for an input GTFS dataset with a stop_times.txt file that does not have explicit values for all arrival_time and departure_time fields." The GTFS dataset's trips.txt file includes stray tab values (likely a data creation issue by the data provider, as pointed out by the user). The tool errors when examining the direction_id field, which, according to the specification, must be an enum value of 0 or 1. The file includes values like " 1" ([tab]1). The tool can be updated to strip stray spaces and tabs before validating numerical fields. However, there are likely more problems with this dataset because of the stray tabs. For example, in the first two rows of the trips.txt file, the route_id field includes values of "1" and " 1" (1 and [tab]1). Since the route_id field is interpreted as a string, these values are not considered identical, even though it is likely that they are. Contact the data provider and discuss the quality concerns.

対処法

  1. Enable the 'Interpolate blank stop times' option in the tool.
  2. Modify any .txt files within the General Transit Feed Specification (GTFS) collection to remove any tab characters immediately following a comma.



再現の手順

不具合 ID: BUG-000163441

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

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

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

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

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

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

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