To publish a map service, you set properties that control how the map service can be used. These properties include deciding the operations your service will support, how it will be drawn, and what capabilities to expose to allow your audience to do more with your service.
You can optionally choose to extend your map service functionality by enabling capabilities, each with its own set of properties that can be configured. Enabling capabilities may create additional services that work from or with your map service.
To configure the capabilities for the map service, follow these steps:
- In the Publish Map Service pane, on the Configuration tab, click the Configure Capabilities tab .
- Check each capability to enable for the map service, as necessary. Click Configure Service Properties next to each capability to access its properties.
Capability Description Special requirements
Provides access to your map through REST and SOAP URLs.
Creates a feature service that provides access to vector features in the map. This capability is often used for editing.
Requires vector layers from an enterprise geodatabase
Solves transportation network analysis problems using the ArcGIS Network Analyst extension.
Requires a network analysis layer referencing a network dataset
Creates a service compliant with the OGC Web Map Service (WMS) specification.
Creates a service compliant with the OGC Web Feature Service (WFS) specification.
Requires vector layers from an enterprise geodatabase. This capability is only available when publishing to ArcGIS Server 10.7 and later.
Creates a service compliant with the OGC Web Coverage Service (WCS) specification.
Requires raster layers. This capability is only available when publishing to ArcGIS Server 10.7 and later.
Provides access to your map through custom KML network links.
None. This capability is only available when publishing to ArcGIS Server 10.7 and later.
If a custom server object extension (SOE) or a server object interceptor (SOI) is deployed on your server, it is available in the capabilities list. Use ArcGIS Server Manager to update the order of SOI execution after the service has been published.
Map service properties
Follow these steps to configure the map service properties:
- In the Publish Map Service pane, on the Configuration tab, click Configure Capabilities .
- Select the operations to allow on your map service. By default, Map, Data, and Query are enabled.
Allows the Export Map, Generate Renderer, and Generate KML methods to be used.
Allows the Find, Query, and Query Related Records methods to be used.
Allows the Identify method to be used.
- Optionally uncheck Allow per request modification of layer order and symbology to disable dynamic layers. This prevents client applications from dynamically changing the appearance or behavior of the map service, such as modifying layer order, symbology, labeling, and more.
- Choose how the service will be drawn:
- Choose Dynamically from the data for real-time display of data. The data referenced in the map service will be retrieved and drawn each time it is requested.
- Choose Using tiles from a cache to draw from precached images generated at scale levels you define for fast performance.
Follow these steps when the map service will be drawn Using tiles from a cache:
- From the Tiling Scheme drop-down list, choose the tiling scheme for your cache. The tiling scheme determines the scales at which tiles will be created, tile dimensions, and coordinate system of the cache. These properties define where tile boundaries will exist and are important to match when overlaying caches.
- To use the same tiling scheme as the ArcGIS Online, Bing Maps, and Google Maps caches, choose ArcGIS Online / Bing Maps / Google Maps. The data in your map will be reprojected on the fly to WGS 1984 Web Mercator (Auxiliary Sphere). Tile width and height is 256 by 256 pixels.
- To use a tiling scheme based on the WGS 1984 Geographic Coordinate System, choose WGS 1984 Geographic Coordinate System, Version 2. Tile width and height is 256 by 256 pixels.
- To use the same tiling scheme as an existing map service, choose Existing cached map / image service and browse to the service.
- To use your own tiling scheme, choose
Tiling scheme file and browse to a tiling scheme XML file
that you have created using the Generate Map Server Cache Tiling
Scheme tool. You can import additional tiling scheme files from C:\Program
If an image format is not defined in the tiling scheme, the layers in the map are examined and a default image format is applied. The format is PNG when the map contains only vector layers. The format is MIXED when at least one raster layer is detected. The antialiasing options set for the application are used.
- Use the sliders to adjust the Levels of Detail. The dependencies in the map are examined and a minimum and maximum range of scales for caching are suggested. Depending on your map, you may want to forgo caching some of the extremely large or small scales in your tiling scheme.
- Choose whether the cache will be built automatically when the service is published or if you will build the cache manually after the service is published. If the cache is large, you can manually build the cache in phases using the Manage Map Server Cache Tiles tool.
- Choose a server cache directory from the Cache directory menu to store the cache tiles.
- Check Allow clients to export cache tiles to allow clients to download cache tiles for offline use. Specify a value for Limit export to to limit how many tiles can be downloaded in a single request.
- Click the back arrow to return to the list of capabilities.
Feature service properties
When a map service is published with the Feature capability enabled, the server additionally generates a feature service and URL through which it can be accessed. Feature services make your feature data and nonspatial tables available for use in client applications. The lifetime of the map service controls the lifetime of the feature service.
Follow these steps to set the feature service properties:
- In the Publish Map Service pane, on the Configuration tab, click Configure Service Properties next to Feature to access its properties. The Feature capability is only available when the data option on the General tab is set to Reference registered data.
- Under Operations, check Enable editing and allow editors to to enable feature service editing and to choose the type of editing operations permitted. Editing options include the following:
Add, update, and delete features
Editors can add, update, and delete feature geometry and alter the attributes of features. This is the default option.
Update features only
Editors can provide attribute information for existing features. They cannot add new features or modify or delete existing feature geometry.
Add features only
Editors can add new features and provide attribute information for these new features only. They cannot modify or delete existing feature geometry or attribute information.
- Check the Enable Sync check box to allow users to work with a local copy of the data even when they're offline, and to synchronize changes when they're online.
- Check Export Data to allow others to export the data to different formats.
- Check Allow geometry updates to allow edits to the geometry of a feature.
- Check Allow update of true curves to allow web clients to update the true curve geometry of a feature with densified geometry.
- Check Only allow true curve updates by true curve clients to only allow clients that support true curves, such as ArcGIS Pro, to update true curve geometries.
- Check Apply default to features with z-values to allow editors to add or update features through clients that don't allow input of a z-value. Specify a Default z-value when inserting or updating features.
- Check Allow geometry updates without m-value to allow geometry updates to m-enabled features without specifying an m-value.
- Click the Back button to return to the list of capabilities.
The following parameters can be configured when publishing a map service. These settings apply to the map service and any additional services created by enabling capabilities.
- In the Publish Map Service pane, on the Configuration tab, click Configure Parameters.
- Set the Maximum records returned by server to specify how many records can be returned in a single request to a client, such as ArcGIS Web APIs. Specifying a large number of records can slow the performance of clients consuming your service as well as your GIS server. The default value is 2000.
- Expand the Advanced heading to modify advanced service parameters, as follows:
- Enter the Max number of coded domains to specify how many domain codes can be returned from all fields, subtypes, layers, and tables in a map service. The default value is 25,000.
- Specify the Max image height and Max image width, which represent the maximum height and width (in pixels) of images the map service will export. The default for both values is 4,096.
- Set the Max sample size to specify the maximum number of records that will be sampled when computing a class breaks renderer. The default value is 100,000.
- By default, the map service uses schema locking to prevent modifications to the source dataset schema while the service is running. You can disable schema locking by unchecking Enable schema locking.
- The identify operation returns information about features from related tables and feature class by default. To disable this functionality, check Disable identify relates.
- If the layers in your map contain date fields, use the Time zone menu to specify the time zone in which the dates are recorded. This allows the service to correctly convert date and time values when you interact with the service. If you do not specify a time zone, dates will be assumed to be stored in UTC. If you specify a time zone other than UTC and you want the time zone to account for daylight saving time, check Adjust For Daylight Saving.