Knowledge Base - Technical Articles


Technical Article   Bug:  Printing a raster with statistics set to 'display extent' creates stripes

Article ID: 27186
Bug Id: NIM004463
Software:  ArcGIS - ArcEditor 9.0, 9.1, 9.2 ArcGIS - ArcInfo 9.0, 9.1, 9.2 ArcGIS - ArcView 9.0, 9.1, 9.2
Platforms:  Windows 2000, XP

Description

When printing a raster dataset that is displayed using the 'current display extent statistics' option, the raster dataset is fine on the display, but the printout has some banding.

Cause

The display of the current extent statistics looks fine because the algorithm that calculates the statistics is able to perform the calculation using the entire display. When printing, the algorithm only calculates portions at a time - these portions are calculated in strips, thus causing a banding effect.

Workaround

There are two different workarounds to this problem. The first can be used in either ArcGIS 9.0 or 9.1. This workaround is to not print using the current display statistics option. Instead, clip the raster dataset and print it.

The second can only be used in ArcGIS 9.1. This workaround is to not print using the current display statistics option. Instead, Save the current display extent statistics (as an XML file) and then print the raster using custom statistics.

  • 1. Zoom to the display area that you want in the layout.
    2. Right-click on the raster dataset, point to Data, and click Export Data.
    3. Set the extent to the data frame.
    4. Specify the output location, file name, and format.
    5. Click Save.
    6. When the raster data has been exported/clipped, add it to the layout, and print it.

     This raster dataset only uses the statistics that are contained in the raster dataset, which is the same as the statistics of the current display extent.

  • 1. Zoom to the display area that you want in the layout.
    2. In the Raster Dataset Properties dialog, click on the Symbology tab.
    3. Scroll to the Statistics dropdown arrow, and choose From the current display extent and click Apply.
    4. Click OK. Make sure you are satisfied with the way the raster dataset is rendered.
    5. Go back to the symbology tab and click Save as XML. Set the path and file name for the XML file, and click Save.
    6. In the Statistics dropdown arrow, choose From Custom Settings (below).
    7. Click the Load XML button. Navigate to the XML file that you saved in step 5, and click Open.
    8. Click OK, to view the display.
    9. Now you are able to print without the output having any striping issues.

Created: 7/12/2004
Last Modified: 2/23/2007

If you would like to post a comment, please login