When supplying the AccumulateAttributeNames parameter when creating a Origin Destination Cost Matrix object using arcpy.nax, the output fields names append the modes chosen to the end.
ArcGIS Pro
漏洞 ID 编号
BUG-000179227
已提交
September 3, 2025
上次修改时间
September 10, 2025
适用范围
ArcGIS Pro
找到的版本
3.5.2
操作系统
Windows OS
操作系统版本
11.0 64 bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
Accumulated attribute values are reported in output fields with the format Total_[AccumulateAttributeName]_[TimeUnits] and Total_[AccumulateAttributeName]_[DistanceUnits], where TimeUnits and DistanceUnits are the time and distance units specified for the analysis. The script sets odcm.timeUnits = arcpy.nax.TimeUnits.Minutes and odcm.distanceUnits = arcpy.nax.DistanceUnits.Miles, and it accumulates the cost attributes Miles and Minutes. As a result, the output includes fields named Total_Miles_Miles and Total_Minutes_Minutes, which is the expected behavior. Refer to this documentation: https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/origindestinationcostmatrix-output-data-types.htm for more information.