Error Message
In ArcGIS Pro, symbolizing a geostatistical layer with more than 32 classes fails and the following error message is returned in the Symbology pane:
Error:
The number of classes must be an integer between 2 and 32.
Cause
Geostatistical layers are dynamically rendered from interpolation models and do not store values as static data. Their symbology is generated on the fly as vector contours, and increasing the number of classes raises the computational load required to render and update the layer. To maintain performance and responsiveness, ArcGIS Pro set the maximum number of classes to 32.
Solution or Workaround
To resolve this issue, export the geostatistical layer to a raster or contour layer, which allows symbolization with more than 32 classes.
Export geostatistical layer to raster layer
- Open the project in ArcGIS Pro.
- Right-click the geostatistical layer in the Contents pane and select Export Layer > To Rasters.
- In the GA Layer To Rasters pane, configure the following parameters:
- For Input geostatistical layer, select the input geostatistical layer. In this example, Kriging is selected.
- For Output Surface Type, select the preferred surface type. In this example, Prediction is selected.
- For Output raster, specify the preferred output raster name and location to export. In this example, the name is GA_to_Raster.
- Click Run.
- In the Contents pane, right-click the output raster and select Symbology.
- In the Symbology pane, for the Classes field, specify the preferred number of classes. In this example, it is specified as 34.
- Close the Symbology pane.
The map below shows the raster layer exported from a geostatistical layer and symbolized using 34 classes.
Export geostatistical layer to contour layer
- Open the project in ArcGIS Pro.
- Right-click the geostatistical layer in the Contents pane and select Export Layer > To Contours.
- In the GA Layer To Contour pane, configure the following parameters:
- For Input geostatistical layer, select the input geostatistical layer. In this example, Kriging is selected.
- For Contour Type, select a contour type. In this example, Same as layer is selected.
- For Output feature class, specify the preferred output name and location to export. In this example, the name is GA_to_Contour.
- For Contour quality, select a contour quality. In this example, Draft is selected.
- Expand Classification
and specify the Classification type; in this example, Geometric Interval is selected. For Number of classes, specify the preferred number of classes; in this example, it is specified as 34. - Click Run.
- Right-click the output contour layer in the Contents pane and select Symbology. The number of symbol classes is shown at the bottom of the Symbology pane.
- Close the Symbology pane.
The map below shows the contour layer exported from a geostatistical layer and symbolized using 34 classes.