PROBLEM

Running analysis tools on feature layers or hosted feature layers in ArcGIS Online Map Viewer Classic loads indefinitely

Last Published: October 8, 2021

Description

Running analysis tools on feature layers or hosted feature layers in ArcGIS Online Map Viewer Classic loads indefinitely and in some cases, an invalid output is created.

Cause

  • The spatial index of the hosted feature layer is not properly rebuilt when published to ArcGIS Online.
  • Feature layers created using a CSV or TXT file are incorrectly formatted. Refer to ArcGIS Online: CSV and TXT files for information on formatting CSV or TXT files before adding the files as layers in Map Viewer Classic.
  • The analysis cannot be completed due to insufficient credits to run analysis tools. Refer to ArcGIS Online: Understand credits for more information.

Solution or Workaround

Use one of the following workarounds to resolve the issue.

Repair the spatial index of the layers

  1. In ArcGIS Online, navigate to the Content tab.
  2. Click the hosted feature layer to open the hosted feature layer's item page.
  3. On the Settings tab, check the Enable Editing option.
The Enable Editing option in the Settings tab
  1. Click Rebuild Indexes under the Manage Spatial Indexes section.
The Rebuild Indexes option in the Settings tab
  1. Check the feature layers checkboxes to rebuild spatial indexes for the layers, and click Rebuild.
The Rebuild Spatial Indexes window with layers where spatial index can be rebuilt

Publish the feature layers as a hosted feature layer

If the feature layer is used to run an analysis, an alternative is to publish the feature layer as a hosted feature layer before running the analysis tools on the layers in Map Viewer Classic. Refer to ArcGIS Online: Publish hosted feature layers for steps and more information.

Article ID: 000026558

Software:
  • ArcGIS Online

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options