Show Navigation | Hide Navigation
You are here:
ArcGIS Image Server > Creating an image service

Creating a new image service

Release 9.2
Last modified April 14, 2008
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Creating an image service"


Related Topics

About creating a new image service

To begin creating an image service, you need to be working in ArcMap and have the Image Service Editor toolbar displayed. To learn about adding the toolbar, see Adding the Image Service Editor toolbar.

There are two options for creating an image service, which are dependent on how advanced the image service will be. The New Image Service Wizard allows you to create three of the most common types of image services: panchromatic, color, or elevation. You will use the Advanced options available on the Image Service Editor toolbar if you need to build more advanced image services.

The Image Service Editor Wizard walks you through all the steps required to create an image service, including adding the data, optimizing the image service, enhancing the imagery or visualizing the elevation data, and compiling the service.

If you create a new image service using the Advanced options you will choose New Service Definition from the Advanced menu on the Image Service drop-down menu on the Image Service Editor toolbar. This displays the Image Service Definition dialog box where you enter the required information to start creating an image service. This information is used to generate the image service definition, which is displayed in ArcMap as a group layer in the table of contents (as shown below). You can then add raster datasets, define the processes, and set other properties of the image service.

New group layer example

The footprint is the first layer that is contained in the image service group layer using the Advanced methods. When using the New Image Service Wizard, the footprint is also built; however, the wizard walks you through all the following steps that you would otherwise have to do independently, thus resulting in a complete group layer. The footprint contains the outline of the valid pixel data in each raster dataset, in the spatial reference system of the raster dataset, after the data is added. The example below displays a raw Landsat scene and the footprint that is derived. In this case, the extent of the valid pixel data is not rectangular as suggested by the file extents. The valid pixel data is actually contained within a skewed rectangle in the dataset, and the other pixel values surrounding this skewed rectangle are null data.

Landsat scene footprint example

There are many cases where the footprint will be the extent of the file, thus resulting in rectangular footprints. You can edit the shape of the footprint. For example, you may want to exclude areas you do not want to display, such as areas of cloud cover in an image or a legend in a scanned map.

The contents of the image service you create are contained in a folder with the name you gave the image service and a .ISDef extension, such as Landsat321.ISDef. This folder contains the image service definition XML, footprint, seamline, boundary information, and raster process definition files. To move the image service contents to another location or copy to another location, simply move or copy the image service definition folder (with its contents). The paths stored within the image service definition are relative to the folder contents.


An overview of the Image Service Definition dialog box parameters

Parameters on the Image Service Definition dialog box define the key aspects of the service and should not be changed once defined. These parameters define the location of the service definition and control how the internal mosaicking of the raster data is performed.

ServiceDefinitiondialogbox

Image Service Definition dialog box parameters
Parameter Description
Service definition Enter the name and location where the image service definition folder is created. The system provides a default name and location that you can change. This is also the default name of the image service a client will use to access the service. The actual name of the service can be specified on the Image Service Definition Properties dialog box.
Spatial reference Select the spatial reference to be used for all internal searches and derived tiles. This is the spatial reference system used for the image service, for all internal searches and derived tiles. The spatial reference should be selected such that no coordinate system boundaries exist within the extents of the required image service.
For example, it would be advantageous to specify the Mercator projection while using data that covers multiple UTM zones rather than specifying a single UTM zone. Once the spatial reference is defined, it cannot be changed.
Service type Specify the type of service to be created. All input rasters will be converted to this type of raster for mosaicking internally prior to applying a service process. After defining the Service Type, it should not be changed. The type of output imagery can be changed later using the service process.
There are four service types, Color (RGB), Panchromatic, 4 Band (RGBI), and Elevation, that have the default number of bands and pixel type defined. The Custom service type allows you to define the key parameters based on your requirements.
Number of bands Specify the number of bands that will be mosaicked together to form the output of the image service.
All rasters that are mosaicked together in a service must have the specified number of bands. Rasters with a different number of bands will have to be converted to a raster with the specified number of bands using one of the processes. The output of the service may have a different number of bands; for example, an image service with grayscale imagery can be created from color imagery.
Pixel type Specify the pixel type of images that will be mosaicked to form the output of the image service. Rasters that are mosaicked must have this pixel type, but the output service can be different. For standard color imagery, you can choose Unsigned 8-bit Integer.
Bit depth Specify the number of bits of the mosaicked image. For example, a 16-bit depth raster can use only 12-bits compared to the available 16-bits. This value affects the histogram and radiometric transformations used.
Color space Defines the relationship between the bands for each pixel. This is required primarily to enable compression.
  • Grayscale—1 band
  • RGB—red, green, and blue
  • CMYK—cyan, majenta, yellow, and black
  • YCbCr—luminance, and chrominance ( red and blue )
  • YUV—a variation of YCbCr
  • LHS—HSI (hue, saturation, and intensity )
  • YCCK—similar to YCbCr
  • Palette - 1 band with colormap
  • Unknown—use when the color space is not defined or does not make sense.




How to create new image services

Creating a color image service using the wizard

  1. Click the Image Service drop-down menu on the Image Service Editor toolbar and click New Image Service.
  2. The New Image Service Wizard welcome panel is displayed.

  3. Click Next.

  4. Click the New Image service location Browse button Browse button, navigate to the location where you want to create the image service, type the name in the File name text box, then click Save.

  5. Click the Select spatial reference system Browse button Browse button and select a spatial reference system provided in the ArcGIS Coordinate Systems folder.
  6. This is the spatial reference system used for the image service 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.

  7. Click the Service type drop-down arrow and click Color.

  8. Click Next.

  9. Click the Raster type Browse button Browse button to open the Select Raster Type dialog box. Select a raster type and click OK.
  10. Click the File or Folder radio button, depending on if you are adding a single file or a folder containing many files.
  11. Click Input Browse button Browse button and select the file or folders containing the raster data.
  12. Optionally, check Use this spatial reference for all input data and click the Browse button Browse button to select the spatial reference.
  13. If unchecked, the spatial reference system defined with the raster will be used.
    You will often specify the spatial reference for data that doesn't contain the information within, such as TIFF files with TFW files.
  14. Optionally, click the Band combinations drop-down arrow and select the required band combination.

  15. Optionally check Apply pansharpening to panchromatically sharpen your image service.
  16. This option will only be available if you are using a raster type that allows for this option, such as QuickBird or Landsat.

  17. Click Next.

  18. Optionally, check Apply stretch and select the type of enhancement that will be applied to the raster datasets when they are displayed.

  19. Optionally, check Apply gamma and select how the gamma correction value is computed.

  20. Click Next.

  21. Optionally, click Yes if you want to add additional data to your image service, and click Next. This will take you back to through the steps you have already completed to define additional data and any enhancements.

  22. Optionally, uncheck Generate overviews if you do not want to optimize the image service.
  23. Optionally, uncheck Compile the service for publishing if you do not want to compile the image service.

  24. Click Next.

  25. Type a valid Service name.
  26. It is recommended that you enter all the information on this section of the wizard.

  27. Click Next.

  28. Review the summary.

  29. Click Back if you need to make changes; otherwise, click Finish.

Tip

Creating a panchromatic image service using the wizard

  1. Click Image Service on the Image Service Editor toolbar and click New Image Service.
  2. The New Image Service Wizard welcome panel is displayed.

  3. Click Next.

  4. Click the New Image service location Browse button Browse button, navigate to the location where you want to create the image service, type the name in the File name text box, then click Save.

  5. Click the Select spatial reference system Browse button Browse button and select a spatial reference system provided in the ArcGIS Coordinate Systems folder.
  6. This is the spatial reference system used for the image service 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.

  7. Click the Service type drop-down arrow and click Panchromatic.

  8. Click Next.

  9. Click the Raster type Browse button Browse button to open the Select Raster Type dialog box. Select a raster type and click OK.
  10. Click the File or Folder radio button, depending on if you are adding a single file or a folder containing many files.
  11. Click Input Browse button Browse button and select the file or folders containing the raster data.
  12. Optionally, check Use this spatial reference for all input data and click the Browse button Browse button to select the spatial reference.
  13. If unchecked, the spatial reference system defined with the raster will be used.
    You will often specify the spatial reference for data that doesn't contain the information within, such as TIFF files with TFW files.
  14. Optionally, click the Band combinations drop-down arrow and select the band to display in the image service.

  15. Click Next.

  16. Optionally, check Apply stretch and select the type of enhancement that will be applied to the raster datasets when they are displayed.

  17. Optionally, check Apply gamma and select how the gamma correction value is computed.

  18. Click Next.

  19. Optionally, click Yes if you want to add additional data to your image service, and click Next. This will take you back through the steps you have already completed to define additional data and any enhancements.

  20. Optionally, uncheck Generate overviews if you do not want to optimize the image service.
  21. Optionally, uncheck Compile the service for publishing if you do not want to compile the image service.

  22. Click Next.

  23. Type a valid Service name.
  24. It is recommended that you enter all the information on this section of the wizard.

  25. Click Next.

  26. Review the summary.

  27. Click Back if you need to make changes; otherwise, click Finish.

Tip

Creating an elevation image service using the wizard

  1. Click Image Service on the Image Service Editor toolbar and click New Image Service.
  2. The New Image Service Wizard welcome panel is displayed.

  3. Click Next.

  4. Click the New Image service location Browse button Browse button, navigate to the location where you want to create the image service, type the name in the File name text box, then click Save.

  5. Click the Select spatial reference system Browse button Browse button and select a spatial reference system provided in the ArcGIS Coordinate Systems folder.
  6. This is the spatial reference system used for the image service 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.

  7. Click the Service type drop-down arrow and click Elevation.

  8. Click the Visualization method drop-down arrow and select a method, then fill in the remaining parameters; otherwise, click the As an elevation image service radio button.

  9. Selecting Elevation coded or Shaded relief as the visualization method and clicking Next opens the symbolization panel.

  10. Click the Generated on-the-fly drop-down arrow and select a method, or click the Load from symbology file and click the Browse button to select the file.
  11. Depending on the parameters you chose in the last two panels, you can edit some or all of the parameters listed in the Properties group.
  12. Optionally, click the Low color box and select a new color.
  13. Optionally, click the High color box and select a new color.
  14. Optionally, type a number in the Number of entries text box.
  15. Optionally, click the arrows to select the Break classes at value.
  16. Optionally, uncheck Smooth gradient.

  17. Click Next.

  18. Click the Select a raster type Browse button to open the Select Raster Type dialog box. Select a raster type and click OK.
  19. Click the File or Folder button depending on if you are adding a single file or a folder containing many files.
  20. Click the Select the input Browse button and select the file or folders containing the raster data.
  21. Optionally, check Use this spatial reference for all input data to use the spatial reference you define and click the button to select the desired spatial reference system.
  22. If unchecked, the spatial reference system defined with the raster will be used.

  23. Optionally, click Yes if you want to add additional data to your image service, and click Next. This will take you back through the steps you have already completed to define additional data and any enhancements.

  24. Optionally, uncheck Generate overviews if you do not want to optimize the image service.
  25. Optionally, uncheck Compile the service for publishing if you do not want to compile the image service.

  26. Click Next.

  27. Type a valid Service name.
  28. It is recommended that you enter all the information on this section of the wizard.

  29. Click Next.

  30. Review the summary.

  31. Click Back if you need to make changes; otherwise, click Finish.

Tip

Creating an image service using the Image Service Definition dialog box

  1. Click the Image Service drop-down menu on the Image Service Editor toolbar, point to Advanced, then click New Service Definition.
  2. The Image Service Definition dialog box is displayed.

  3. Type the Service Definition path and name in the text box or click the Browse button Browse button to navigate to the location and provide a name.

  4. Click the Spatial Reference Browse button Browse button and choose a .prj file for either a geographic or projected coordinate system.
  5. Previously selected spatial reference systems can also be selected using the drop-down arrow.
    You can click the Information button Information button to review the parameters of the spatial reference file.

  6. Click the Service Type drop-down box and click a service type.
  7. The default values corresponding to selected service type are displayed in the Number of Bands, Pixel Type, Bit Depth, and Color Space fields.

    If you select Custom, edit the values in the Number of Bands, Pixel Type, Bit Depth, and Color Space fields.

  8. Click OK to create the new service.
  9. The new service is added to the ArcMap table of contents as a group layer.
After creating a new service using the Image Service Definition dialog box, you need to add raster data to the image service. To learn more, see Adding and removing raster data in a service.

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.