Combining a hillshaded DEM with a topo map

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.

There are often cases where you want to merge two image services together, such as merging a hillshaded DEM with scanned topographic maps or with satellite or aerial imagery. In this case, the hillshaded DEM helps you visualize topography on a scanned map or any 2D image.

In this workflow, you will be combining a three-band color image service (Topo Map) with a one-band grayscale image service (Hillshaded DEM) to create a third image service (Hillshaded Topo Map).

Merged Hillshaded DEM and Topographic map

One benefit of keeping these two input image service definitions separate is that the data for each can be updated independently.

Steps:
  1. Create the following two image service definitions.
    1. A three-band color image service definition using topographic maps

      You could use any dataset, such as satellite or aerial imagery, as long as its output is a three-band color image service definition.

      Learn about creating a color image service definition

    2. A hillshaded elevation image service definition
  2. Publish both image service definitions, either using the ArcGIS Server Manager or the Image Server Manager.
  3. Connect to each published image service by adding each image service into ArcMap.
  4. Save each image service layer as an image service reference layer (*.ISRef).

    You will have two image service reference files, for example, Topo_Map.ISRef and Hillshade.ISRef.

  5. Create a new three-band color image service using the Advanced methods.
    1. Click the Image Service drop-down menu on the Image Service Definition Editor toolbar, point to Advanced, then click New Service Definition.
    2. Type a service definition name.
    3. Select the spatial reference.
    4. The Service type will be Color.
  6. Add the .ISRefs (created earlier) to this new image service definition.
    1. On the Image Service Definition Editor toolbar, click the Image Service drop-down menu, point to Advanced, then click Add Raster Dataset to open the Select Raster Type dialog box.
    2. Double-click the Georeferenced Imagery folder and select the Image Service raster type.
    3. Browse to the folder containing the .ISRefs or select each and add it to the image service definition.
  7. Open the attribute table of the image service definition by clicking the Service Table button Service Table on the Image Service Definition Editor toolbar.
  8. Select the row in the table representing the three-band color image (e.g., Topo_Map.ISRef).

    Selecting a row in the attribute table

  9. Click the Raster Properties button Raster Properties on the Image Service Definition Editor toolbar.
  10. Disable the raster.
    1. Click the Rasters node in the Raster Properties dialog box.
    2. On the General tab, uncheck the Enabled check box.
    3. Click OK to close the dialog box.
  11. Open the attribute table.
  12. Copy the contents under the RasterID column for the Topo_Map record.

    You may want to paste this number into Notepad.

  13. Select the row in the table representing the hillshaded DEM image (e.g., Hillshade.ISRef).
  14. Click the Raster Properties button Raster Properties on the Image Service Definition Editor toolbar.
  15. Click the Processes node and uncheck the Validator - Extract bands process.
  16. Click the Rasters node.
  17. Click the Processes tab.
  18. Add the Extract Bands process and open it to edit the parameters.
  19. Click the Output Number of Bands drop-down arrow and click 3.
  20. Click the Band Source tab.
  21. Type "1" for Band Source-1, Band Source-2, and Band Source-3.
  22. Click OK to close the Extract Bands Process Definition dialog box.
  23. Add the Image Algebra process and open it to edit the parameters.
  24. On the Primary tab, click the Method drop-down arrow and click Add.
  25. Type "0.5" for Band 1 scale, Band 2 scale, and Band 3 scale.

    Image Algebra process Primary tab

  26. Click the Auxiliary tab.
  27. Paste the RasterID number you copied earlier into the Auxiliary raster ID text box and add a ".1" to the value.
  28. Check the Resample check box.
  29. Type "0.5" for Band 1 scale, Band 2 scale, and Band 3 scale.

    Image Algebra, Auxiliary tab

  30. Click OK to close the Image Algebra Process Definition dialog box.
  31. Click OK to close the Raster Properties dialog box.
  32. Click the Image Service drop-down menu on the Image Service Definition Editor toolbar, point to Advanced, then click Build.
  33. Click OK to build the image service.
  34. Check the Preview layer in the table of contents to view the hillshaded topo map.
  35. Publish the image service definition.

Related Topics


4/19/2011