PROBLEMA

No se puede exportar un gran servicio de entidades alojado con adjuntos a una geodatabase de archivos desde un extremo REST

Last Published: October 28, 2024

Descripción

When downloading a large hosted feature service with attachments from ArcGIS Online to a file geodatabase, a known issue may occur that results in an error, or in missing feature layer attachments. One possible workaround for the issue is documented in the following article, Problem: Unable to export a feature layer with attachments from ArcGIS Online for Organizations to a file geodatabase, which suggests creating a replica from the REST endpoint of the hosted feature service and downloading it as a zipped file geodatabase.

In some instances, attempting to export the hosted feature service with attachments from the REST endpoint fails, or results in missing feature layer attachments.

Causa

The following are two possible causes of the issue:

  • The hosted feature service is too large. This is a known issue.
  • The hosted feature service contains corrupt feature attachments.

Solución o solución alternativa

As a workaround, add the hosted feature service to ArcGIS Pro and use the Feature Class to Feature Class tool to export the hosted feature service to a file geodatabase.
Note:
The ability to maintain attachments of features is supported by the Maintain Attachments environment, which was introduced in ArcGIS Pro 1.3. The Maintain Attachments environment setting allows enabling and disabling the transfer of attachments to the output table or feature class.
  1. Launch ArcGIS Pro, and sign in to ArcGIS Online.
  2. Add the hosted feature service to the map.
  3. Click the Analysis tab, and click Tools in the Geoprocessing group.
  4. In the Geoprocessing dialog box, select Toolboxes > Conversion Tools > To Geodatabase > Feature Class to Feature Class.
  5. In the Parameters section, select the hosted feature layer as the Input Features.
  6. Select a file geodatabase for the Output Location to store the exported feature class.
  7. Type a name for the Output Feature Class.
  8. Click Environments, and check Maintain Attachments to enable the transfer of attachments from the input features to the output features.

    User-added image
  9. Click Run.
The exported feature class is stored in the file geodatabase specified in Step 6, containing the feature attachments. Refer to the following document for steps to view or open the feature attachments in ArcGIS Pro: Open an attached file. The figure below is an example of the exported feature containing the attachments.
User-added image

Id. de artículo: 000015786

Recibir notificaciones y encontrar soluciones a problemas nuevos o comunes

Obtenga respuestas resumidas y soluciones de vídeo de nuestro nuevo chatbot de IA.

Descargar la aplicación de soporte de Esri

Información relacionada

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