Applying transparency in an image service definition

LegacyLegacy:

ArcGIS 10 is the last release of the stand-alone ArcGIS Image Server product. The image service definition (.ISDef) has been replaced by an improved geodatabase data model—the mosaic dataset—which can be published as an image service using the ArcGIS Server Image extension.

Steps:
  1. Create a new service and add your raster data.

    If you use the New Image Service Wizard, uncheck the Generate overviews and Compile the service for publishing options.

  2. Define the NoData value. This is the value you want to define as transparent. You can edit each of the raster properties by using the toolbar, using the Edit Raster Properties Wizard, or editing the .RPDef files.
  3. Edit the raster properties using the toolbar.
    1. Select a footprint.
    2. Click the Raster Properties button Raster Properties on the Image Service Definition Editor toolbar.
    3. Click the General node.
    4. Type the value that you want treated as transparent in the No data value text box.

      For example, in a three-band image, 0,0,0 may represent the RGB transparent value; however, you only need to enter 0.

      Entering the NoData value for transparency
    5. Click OK and edit another raster if necessary.
  4. Click the Image Service Properties button Image Service Properties on the Image Service Definition Editor toolbar.
  5. Click the Service Definition node.
  6. Click the Transparency arrow and click On.
    Turn Transparency on in the image service properties
  7. Click the Default Client Properties node.
  8. Click the Sampling Method arrow and click Nearest Neighbor.
  9. Click OK.
  10. Click the Image Service drop-down menu and click Advanced > Service Overviews > Define.
  11. The Service Overviews Parameters dialog box opens.

  12. Click the Sampling method arrow and click Nearest Neighbor.
  13. Click OK.
  14. Click OK when the service overviews have been defined.
  15. Click the Image Service drop-down menu and click Advanced > Build.
  16. Generate derived images should be checked.

    Compile service should be checked.

  17. Click OK.
  18. Preview the image service.

4/19/2011