Publishing image services
What can be published as an image service?
You can publish the following, as an image service:
- Raster dataset
- Raster layer
- Mosaic dataset
- Mosaic layer
Options for publishing depending on your setup
Your options for publishing image services will vary depending on the software you have:
-
I have ArcGIS for Server only.
You can only publish raster datasets and layer files that reference raster datasets. You can use ArcCatalog or the Catalog window in ArcMap to publish the service.
-
I have ArcGIS for Server and the ArcGIS Image extension .
You can publish raster datasets, mosaic datasets, or layer files that reference raster datasets or mosaic datasets. You can use ArcCatalog or the Catalog window in ArcMap to publish the service.
License:The ArcGIS Image extension is also required when publishing a map document or globe document containing a mosaic dataset or raster layer using the Mosaic function in it's function chain. Without the extension, the services created from these documents will not contain the mosaic dataset or layer.
-
...and ArcGIS for Server is registered with a JPIP Server.
You can publish JPEG 2000 or NITF (with JPEG 2000 compression) files using the JPIP streaming capability when ArcGIS for Server is configured with a JPIP Server from ITTVIS. You can use ArcCatalog or the Catalog window in ArcMap to publish the service. Follow the steps in Registering JPIP Server with ArcGIS for Server to register a JPIP Server with ArcGIS for Server.
-
Publishing choices
When choosing to share your raster data as an image service you have the following options:
Publish a service—If you're ready to publish, you can go through the entire process of connecting to ArcGIS for Server and publishing an image service.
Save a service definition file—If you want to set up all the properties of an image service, then transfer it to a separate machine for publishing, you can create and save a service definition file. This is occasionally necessary in cloud environments, secure environments, or when the server is not immediately available.
Overwrite an existing service—If you want to overwrite an existing service, select this option.
Steps to publish an image service
Connect to the server
If you've just installed ArcGIS for Server, you need to complete some preparatory steps before you can connect to ArcGIS for Server in ArcMap and publish services. You can find these steps in Getting started after install.
When you publish an image service, the service definition and all the data will be moved onto the server. This can be time consuming since most raster data and mosaic datasets can be very large. Unless you are publishing a small amount of data, it is recommended that you do one of the following:
- Ensure that the data is on a shared drive registered with the server. For example, if you will be publishing a mosaic dataset, create it in this shared location with data from the shared location.
- Ensure that the data is duplicated (replicated) on the server. For example, the data you use in the mosaic dataset exists in the same folder structure location in a registered location on the server, just as it does on your local machine.
- If you have not already connected to the server, then in the Catalog window, expand GIS Servers and click Add ArcGIS Server.
- Click Publish GIS services and click Next.
- For the Server URL, type the ArcGIS for Server administrator URL. For example, http://gisserver:6080/arcgis/admin.
- From the Server Type drop-down list, choose ArcGIS Server.
- If your server administrator has enabled security for ArcGIS for Server, enter your User Name and Password.
- For the remaining options, accept the defaults and click Finish.
-
Register your data locations (either shared or duplicated).
- Right-click the connection to the server and click Server Properties.
- To register the folder location where the raster data is stored click the Add Registered Folder button and enter the required information.
To register an enterprise geodatabase, see Registering your data with ArcGIS for Server.
- Click OK to close the dialog boxes.
Publish the image service
- Start ArcMap.
- In the Catalog window, right-click the dataset or layer and click Share As Image Service.
- Choose Publish as service and click Next.
- Click the Choose a connection drop-down list and select the server.
- Optionally, enter a new name for the service.
The name cannot be more than 120 characters long and may contain only alphanumeric characters and underscores.
- Click Next.
- By default, services are published to the root directory [root] of ArcGIS for Server. Alternatively, services can be organized in folders within the root directory. Choose the folder where you want to publish the service, or create a new folder to contain the service.
- Click Continue.
The Service Editor displays. You'll use the Service Editor to choose what users can do with your image service and take fine-grained control of how the server will expose your image service.
For information on specific parameters and capabilities, see Image services and their capabilities.
- In the left pane of the Service Editor, click Capabilities.
By default, Imaging is enabled.
- In the left pane under Capabilities, click Imaging and review the information.
URL—These are the URLs clients use to access the image service. The SOAP URL will be formatted as follows: http://gisserver:6080/arcgis/services/<folder name (if applicable)>/<service name>/ImageServer. The REST URL will be formatted as follows: http://gisserver:6080/arcgis/rest/services/<folder name (if applicable)>/<service name>/ImageServer.
Operations allowed—There are several operations that are available when using the image service. Each of these options can limit what clients can do with your service. For more information, see Image services and their capabilities.
- In the left pane of the Service Editor, click Item Description and enter a summary, tags, and description for your image service.
- In the Service Editor, click Analyze.
This examines your dataset to see if it can be published to the server. Results are displayed in the Prepare window. You have to fix the Errors before you can publish the image service. For more information about resolving these issues, see the topic Analyzing your GIS resource.
Tip:To give yourself more viewing area, click the Collapse button at the top of the Service Editor.
- Optionally, in the Service Editor, click Preview.
This can give you an idea of how your data will look when viewed on the web. See the topic Previewing your map for more information.
- Once you've fixed any errors, click Publish.