Raster pyramids

Pyramids are used to improve display performance. They are a downsampled version of the original raster dataset and can contain many downsampled layers. Each successive layer of the pyramid is downsampled at a scale of 2:1. The following is an example of two levels of pyramids created for a raster dataset:

Pyramid compression

Pyramids can speed up the display of raster data by retrieving only the data at a specified resolution that is required for the display. With pyramids, a lower-resolution copy of the data displays quickly when drawing the entire dataset. As you zoom in, levels with finer resolutions are drawn and performance is maintained because you're drawing successively smaller areas. The database server automatically selects the most appropriate pyramid level based on your display scale. Without pyramids, the entire dataset must be read from disk and resampled to a smaller size. This is called display resampling and occurs when the display is refreshed.

Pyramids only need to be built once per raster dataset. After that, they are accessed each time the raster dataset is viewed. The larger the raster dataset, the longer it takes to create the set of pyramids, but display is faster and you save time in the long run.


Raster datasets smaller than 1024 pixels in both the x- and y-dimensions will not have pyramids generated automatically; however, you can manually specify a pyramid level to override this behavior.

You can build pyramids for each raster dataset in a mosaic dataset, and you can build overviews for a mosaic dataset using tools in the Mosaic Dataset toolset.

Pyramid files

Pyramids are stored in a single file that is in the same location as the source raster by default. There are two types of pyramid files: an overview (.ovr) and a reduced-resolution dataset (.rrd). ArcGIS can read both types of pyramid files, but it only writes .ovr files—with a few exceptions as described below.

An .rrd file is created for ERDAS IMAGINE files.

An .ovr file is created and used by ArcGIS . One advancement of the .ovr file is that you can choose the compression method and compression quality. JPEG type compressions can only be used with file types that can store data according to JPEG specifications. If JPEG pyramids are selected, the compression quality of the JPEG pyramids can also be specified.

The .ovr file is approximately 8 percent of the size of the original uncompressed file. If the pyramids are compressed, the .ovr file may be even smaller (such as 2 percent). An .ovr file size is difficult to estimate because the compression depends on the homogeneity of the data.

The table below shows the increase in the storage size of a raster dataset due to pyramid levels based on the various compression types. Level 0 is the original raster dataset.

LevelNo compressionLZ77 compressionJPEG compression


1.0 GB

1.0 GB

1.0 GB


1.0655 GB

1.0483 GB

1.0133 GB


1.0824 GB

1.0606 GB

1.0169 GB


1.0866 GB

1.0637 GB

1.0179 GB


1.0877 GB

1.0645 GB

1.0182 GB


1.0880 GB

1.0647 GB

1.0183 GB


1.0881 GB

1.0647 GB

1.0183 GB

The .ovr file size

Wavelet-compressed raster file formats, such as JPEG 2000, ECW, and MrSID, have internal pyramids. This generally means that pyramids cannot be created using ArcGIS; however, you can create pyramids for JPEG 2000. Geodatabase rasters with wavelet compression can also have pyramids built.

Pyramid resampling methods

The pyramid resampling methods are nearest neighbor, bilinear interpolation, and cubic convolution. Nearest neighbor is the default and typically works for any type of raster dataset. It is recommended that you use nearest neighbor for discrete (nominal) data or raster datasets with color maps, such as land-use data, scanned maps, and pseudocolor images. Use bilinear interpolation or cubic convolution for continuous data such as satellite imagery or aerial photography. Although bilinear interpolation is performed more quickly, the result is not as sharp as the result of cubic convolution. Bilinear interpolation is recommended for 1-bit TIFF or IMG files.

Mosaicking and the raster dataset origin

When mosaicking raster data in a geodatabase, pyramids can be built on a raster dataset as raster data is being mosaicked into the raster dataset, or they can be built when the loading is complete. ArcGIS allows partial pyramid construction, which rebuilds only the part of the pyramid overlapped by the source data during a mosaic operation. This helps when updating a mosaicked raster dataset, because if a new raster dataset is added, the entire raster dataset does not need to rebuild pyramids. If you update the data at the raster dataset's origin (pyramid reference point), the pyramid must be rebuilt for the entire raster dataset.

The raster dataset's origin is the raster dataset's upper leftmost coordinate. The construction of the pyramid begins at this coordinate and proceeds to the right and down. Mosaicking data to the left or above the raster dataset's origin requires the origin to shift to reflect the new upper leftmost point. Shifting the existing raster dataset's origin requires pyramids to be rebuilt. Rebuilding pyramids can be a costly operation in terms of time, especially if the raster dataset has grown because a number of raster dataset source files (or other raster datasets) have already been mosaicked to it.

Pyramid reference point

Since rebuilding the pyramid is a costly operation in terms of time, identify the raster dataset's upper left raster coordinate through analysis of the source data and enter it when you create the raster dataset. Set the x- and y-coordinates for the pyramid reference point when you create the raster dataset (see the Create Raster Dataset tool), rather than using the upper left coordinate of the first raster dataset that is inserted. You can avoid shifting the raster dataset's origin by setting a pyramid reference point when you create the raster dataset.

Related topics