PROBLEM

In ArcGIS Image Server, NoData values of the source rasters in an elevation service display as actual values in the image service

Last Published: June 17, 2021

Description

The NoData values of the source rasters in an elevation service display as actual values in the image service. This causes the stretch applied to the elevation service display to render incorrectly.

Note:
This article applies to ArcGIS versions 9.x. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.

Cause

Image Server does not currently support reading NoData values.

Solution or Workaround

The NoData parameter in the Raster Properties dialog box must be defined for each raster dataset prior to building overviews. The following steps outline the process involved for handling the NoData values as NoData in the image service:

  1. If the NoData value is being defined for an individual raster:
    1. Select the record corresponding to the elevation raster in the service table.
    2. Select the Raster Properties button on the Service Editor toolbar.
    3. Select the Rasters option on the left side of the Raster Properties window and specify the raster's NoData value in the No data value parameter.

If the NoData value is being defined for multiple rasters:

  1. Select the Image Service button > Advanced > Edit Raster Properties.
  2. In the Edit Raster Properties Wizard, select the General properties of raster datasets or rasters option. Click Next to proceed.
  3. Select either Raster dataset if all rasters are to be defined, or Raster' if a subset is to be defined. With the Raster option, the subset can be selected by raster ID. Click Next.
  4. Check the NoData value option and enter the desired value. Click Next.
  5. Select the No radio button if no further modifications of the raster properties are desired. Click Next, and click Finish.
  1. Activate the Transparency option in the service properties.
    1. Initialize the Service Properties dialog box by selecting the Image Service Properties button on the Service Editor toolbar, or by right-clicking the ISDef layer and selecting Properties.
    2. Select the Service Definition section in the Image Service Properties dialog box.
    3. Change the Transparency parameter to On.
  2. Run Build with the Compute Output Pixels option enabled, then proceed to define and build overviews if desired.

Article ID:000010452

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic