laptop and a wrench

Erro

Exporting a hosted feature layer with a Date field as a feature class in ArcGIS Pro changes the field schema and may return an error when opening the feature class in ArcMap.

ArcGIS Pro
Número de ID do Erro BUG-000164682
EnviadoJanuary 29, 2024
Última ModificaçãoAugust 20, 2024
Aplica-se àArcGIS Pro
Versão encontrada3.2.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusAs Designed

Informações Adicionais

When adding a Date field to a hosted feature layer in ArcGIS Online using the method described in this issue, the Date field automatically has high (millisecond) precision. Similarly, when publishing a file geodatabase feature class with a Date field to ArcGIS Online, the Date field is automatically updated to be high precision.  When viewing the hosted feature layer with the high precision Date field in ArcGIS Pro, the high precision date is honored. When viewing the same service in ArcMap, the high precision values are downgraded to standard precision. If this service is exported as a file geodatabase in ArcGIS Pro, the high precision Date field is maintained. File geodatabase feature classes with a high precision Date field cannot be viewed in versions of ArcGIS Pro earlier than 3.1, nor in ArcMap. There is not a data corruption bug happening; this is just a consequence of using high precision Date fields in older versions of the software. There are a handful of workarounds available to allow the export to a file geodatabase to make a feature class that can be used in earlier versions of ArcGIS Pro or ArcMap.  Alternatively, an Enhancement request could be logged, either for the ArcGIS Online hosted feature service to allow the addition of a standard prevision Date field or for the file geodatabase to support high precision Date fields in some way in earlier versions of ArcGIS Pro or ArcMap.

Solução Provisória

  • Use the Export Data > Export to FGDB option on the hosted feature layer item to create a file geodatabase that can be used in earlier versions of ArcGIS Pro or ArcMap. The high precision Date field from the feature service is automatically downgraded to a standard precision Date field.
  • Perform the data export of the hosted feature layer in ArcMap if the file geodatabase is to be used in ArcMap. This takes care of the downgrade of the Date field from high to standard precision.
  • Perform the data export of the hosted feature layer in ArcGIS Pro. After running the export, use the Add Field tool to add a standard precision Date field to the file geodatabase feature class. Then run the Calculate Field tool to calculate the values from the high precision Date field into the standard precision Date field. Then use the Delete Field tool to remove the high precision Date field. The resulting feature class can be used in previous versions of ArcGIS Pro and ArcMap.

Etapas para Reproduzir

ID do Erro: BUG-000164682

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download