Creating an image service using a one-band raster dataset with a color map

A color map is a set of values that are associated with colors. Color maps are used to display a single-band raster consistently with the same colors. Each pixel value is associated with a color, defined as a set of red, green, and blue (RGB) values. Creating an image service from a one-band image that has a color map is similar to that of creating a three-band RGB image service.

步骤:
  1. Click the Image Service drop-down menu on the Image Service Definition Editor toolbar and click New Image Service.

    The New Image Service Wizard welcome panel is displayed.

  2. Click Next.
  3. Click the New image service location browse button 浏览 and navigate to the location where you want to create the image service definition. Type the name in the File name text box and click Save.
  4. Click the Select spatial reference system browse button 浏览 and choose a spatial reference system provided in the ArcGIS Coordinate Systems folder.

    This is the spatial reference system used for the image service definition and is not necessarily the same as that of each raster dataset that will be added. The spatial reference should be selected such that no coordinate system boundaries exist within the extents of the required image service definition.

  5. Click Select.
  6. Navigate to and choose a projected or geographic coordinate system.
  7. Click OK to close the Spatial Reference Properties dialog box.
  8. Click the Service type arrow and click Color.
  9. Click Next.
  10. Click the Raster type browse button 浏览 to open the Select Raster Type dialog box. Choose a raster type and click OK.
  11. Click either the File or Folder button, depending on whether you are adding a single file or a folder containing many files.
  12. Click the Input browse button 浏览 and choose the file or folder containing the one-band raster dataset with color map.
  13. Optionally, check Use this spatial reference for all input data and click the browse button 浏览 to choose the spatial reference.

    If unchecked, the spatial reference system defined with the raster is used.

    You will often specify the spatial reference for data that doesn't contain the information within, such as .tif files with .tfw files.

  14. Depending on the raster type, you might need to click OK.
  15. Click Next on New Image Service Wizard.
  16. Click Next.
  17. Edit the metadata information about the new image service definition.
  18. Click Next.
  19. Click Finish.

相关主题


7/10/2012