Creating an image service with a signed 16-bit dataset
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.
When creating an image service definition using a signed 16-bit dataset as input data, sometimes incorrect minimum/maximum values result. Therefore, when adding data that contains a signed 16-bit integer pixel type, it is recommended that you convert the pixel type process from 16-bit to floating point on the Raster Properties dialog box and change the pixel type process from floating point to 16-bit on the Service Properties dialog box.
This workflow will help you to create a service for datasets containing signed 16-bit integer as the pixel type.
Create an image service definition
-
Use the Advanced option to create a new image service definition.
- Open ArcMap.
- Click the Image Service drop-down menu on the Image Service Definition Editor toolbar, point to Advanced, then click New Service Definition.
- Type the path and name in the Service definition text box, or click the browse button to navigate to the location and provide a name.
- Click the Spatial reference browse button and choose a spatial reference file for either a geographic or projected coordinate system.
- Click the Service type drop-down arrow and click Custom.
- Change Number of bands to 1.
- Change Pixel type to Signed 16 bit integer.
- Change Color space to Grayscale.
- Click OK to create the new image service definition.
The new image service definition is added to the table of contents as a customized group layer.
-
Use the Advanced option to add raster datasets.
- 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.
- Use the Select Folder option to add the raster datasets.
- Click the Image Service drop-down menu on the Image Service Definition Editor toolbar, point to Advanced, then click Build.
- Build the image service definition with the default options.
- Click OK.
Add the Convert Pixel Type process to the raster properties
- Select the raster and open the Raster Properties dialog box by clicking the Raster Properties button on the Image Service Definition Editor toolbar.
-
Click the General node.
- Change Pixel type to 32-bit floating-point.
- Change Bit depth to 32.
- Change Color space to Unknown.
- Click the Rasters node.
-
Click the Processes tab.
- Add the Convert Pixel Type process to the Processes Selected list.
-
Click the Edit button to change the required process parameters.
The Convert Pixel Type Process Definition dialog box is displayed.
- Click the method 16 bit to floating point.
- Click Apply and close the dialog box.
- Click Apply and close the Raster Properties dialog box.
Add the Convert Pixel Type process to the service properties
- Open the Image Service Properties dialog box (from the Image Service Definition Editor toolbar ).
-
Click the Service Definition node.
- Change Number of bands to 1.
- Change Pixel type to 32 bit floating-point.
- Change Bit depth to 32.
- Change Color space to Unknown.
-
Click the Service Process node.
- Add the Convert Pixel Type process to the Processes Selected list.
-
Click the Edit button to change the required process parameters.
The Convert Pixel Type Process Definition dialog box is displayed.
- Click the method Floating point to 16 bit.
- Click Apply and close the dialog box.
- Click Apply and close the Image Service Properties dialog box.
Zoom or pan around and you can see the created service with a 16-bit signed dataset.
It is recommended that you adjust the Stretch parameters in Raster Properties when a service created with 16-bit imagery appears black.