laptop and a wrench

Error

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

Última publicación: March 22, 2022 ArcGIS Business Analyst Pro
Número de ID del error BUG-000118946
EnviadoDecember 19, 2018
Última modificaciónApril 2, 2025
Relacionado conArcGIS Business Analyst Pro
Versión encontrada2.2
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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.

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000118946

Software:

  • ArcGIS Business Analyst Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga