laptop and a wrench

Bogue

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

Dernière publication: March 22, 2022 ArcGIS Business Analyst Pro
Numéro d’ID de bogue BUG-000118946
EnvoiDecember 19, 2018
Dernière modificationApril 2, 2025
S’applique àArcGIS Business Analyst Pro
Version trouvée2.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000118946

Logiciel:

  • ArcGIS Business Analyst Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement