laptop and a wrench

Erro

Using the to_featurelayer function in ArcGIS API for Python returns the error message, "Maximum number of records allowed (1000) exceeded" when publishing the result of the pivot_table function.

Última Publicação: October 29, 2021 ArcGIS Online
Número de ID do Erro BUG-000130651
EnviadoMay 6, 2020
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Online
Versão encontrada8.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusKnown Limit

Informações Adicionais

- pivot_table results in a MulitLevel index, which is not supported in feature classes. - The maximum records message results because to_featurelayer() has to geocode the results in this case, which can only be accomplished 1000 records at a time. - Flattening the multilevel index with df.stack().reset_index() creates individual records with the multilevel index appropriately transposed for each record. - With some data engineering of column names and using the GeoAccessor.from_xy() method a valid spatial data frame can be created and the to_featurelayer() method used (Although this simply recreates the original feature layer in this case).

Solução Provisória

Use the commented out syntax of the last kernel to convert the DataFrame to a CSV file, and publish it. However, this does not always work correctly. Refer to BUG-000129950 for more information.

Etapas para Reproduzir

ID do Erro: BUG-000130651

Software:

  • ArcGIS Online

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