PROBLEM

Point features in a feature service published from ArcGIS Desktop display in incorrect locations in Map Viewer

Last Published: July 13, 2020

Description

In ArcGIS Online, point features in a feature service published from ArcGIS Desktop display in incorrect locations when viewed in Map Viewer.

Cause

The following are possible causes:

  • The spatial index of the feature layer is not properly rebuilt when published from ArcGIS Desktop.
  • The data is defined in a coordinate system other than the WGS 1984 Web Mercator (Auxiliary Sphere) coordinate system. This is the default coordinate system of basemaps in ArcGIS Online. When data is defined in a different coordinate system, the point features are displayed in incorrect locations on the basemap. Refer to ArcGIS Online: FAQ – What is the coordinate system of the web maps in Map Viewer, and can I change it? for more information.

Solution or Workaround

Rebuild the spatial indexes of the feature class

  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.
  4. Click Rebuild Indexes under the Manage Spatial Indexes section.
  5. Check the feature layers checkboxes to rebuild spatial indexes for the layers, and click Rebuild.
Image showing the Rebuild Indexes window

Data is defined with a coordinate system other than the WGS 1984 Web Mercator (Auxiliary Sphere)

There are two workarounds related to this cause.

Article ID: 000023325

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options