PROBLEM

Slow performance of the Measure tool when working with a large shapefile

Last Published: April 24, 2024

Description

In ArcMap, when using the Measure tool in a snapping-enabled environment to measure the features of a large shapefile, the tool exhibits a slow performance and the application freezes. Disabling snapping allows the Measure tool to function normally, but it is not a viable solution when conducting measurements, as snapping enables accurate measurements of the features.

Note:
Working in ArcGIS Pro with the same shapefile and snapping enabled, exhibits a different behavior compared to working in ArcMap. The application does not freeze, but the snapping function does not work when moving the cursor among the features to measure, even though it is turned on.

Cause

A possible cause of the issue is the shapefile does not have a spatial index, thus slowing the snapping of features when using the Measure tool. ArcMap requires a spatial index to quickly identify or locate a feature, selecting features by pointing or dragging a box, and panning and zooming. A spatial index is not always automatically created in a shapefile, as it is for a geodatabase feature class.

Solution or Workaround

  1. Add a spatial index to the shapefile. Refer to the following document: Modifying indexes in shapefiles by adding a spatial index.
User-added image
Another alternative is to add a spatial index to a shapefile using the Add Spatial Index tool.
  1. Run the Measure tool again with snapping enabled.

Article ID: 000015316

Software:
  • ArcMap
  • ArcGIS Pro

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