laptop and a wrench

漏洞

The Generate Standard Geography Trade Areas geoprocessing tool fails with a long numeric type ID field for the Geography Key Field parameter.

上次发布: March 22, 2022 ArcGIS Business Analyst Pro
漏洞 ID 编号 BUG-000118946
已提交December 19, 2018
上次修改时间April 2, 2025
适用范围ArcGIS Business Analyst Pro
找到的版本2.2
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

Closing "as designed". IDs in the US dataset are numeric but are stored as strings and have leading zeroes. For example, the zip code 08701 is stored as ‘08701' in the data, but it becomes 8701 in a numeric field and does not match the real standard geography unit. So the error is expected when using non-text IDs.

解决办法

To convert a long integer data to a text, import the table to a file geodatabase, add a new text field, and calculate the geography key values from the original numeric field to the newly added text field.

Converting Geography Key Values to Text

  1. Close the attribute table, right-click the attribute table in the Contents pane, select Data, and Export Table.
  2. This opens the Copy Rows geoprocessing tool. By default, the Output Table location is the project’s home file geodatabase.
  3. Accept this default and click Run.
  4. The new file geodatabase table is added to the Contents pane.
  5. Right-click the new table and select Open.
  6. With the table open, click Add to add a new file.
  7. Name the new field and set the data type to Text.
  8. Click the Save button on the ribbon to save the changes and then close the fields view to return to the attribute table.
  9. Right-click the header of the newly created field and click Calculate Field.
  10. Under Expressions, double-click the field originally used as the geography key field to add the values to the new field as text.
  11. Once the field is populated, re-run the tool with the newly added text field selected as the geography key.

重现步骤

漏洞 ID: BUG-000118946

软件:

  • ArcGIS Business Analyst Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项