Skip To Content

Configure a map service

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.

Capabilities

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:

  1. In the Publish Map Service pane, on the Configuration tab, click the Configure Capabilities tab Configure Capabilities.
  2. Check each capability to enable for the map service, as necessary. Click Configure Service Properties Configure Service Properties next to each capability to access its properties.

    CapabilityDescriptionSpecial requirements

    Map Map Service

    Provides access to your map through REST and SOAP URLs.

    Always enabled

    Feature Feature Service

    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

    Network Analysis Network Service

    Solves transportation network analysis problems using the ArcGIS Network Analyst extension.

    Requires a network analysis layer referencing a network dataset

    WMS WMS Service

    Creates a service compliant with the OGC Web Map Service (WMS) specification.

    None

    WFS WFS service layer

    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.

    WCS WCS Service

    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.

    KML KML File

    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:

  1. In the Publish Map Service pane, on the Configuration tab, click Configure Capabilities Configure Capabilities.
  2. Select the operations to allow on your map service. By default, Map, Data, and Query are enabled.

    Map

    Allows the Export Map, Generate Renderer, and Generate KML methods to be used.

    Data

    Allows the Find, Query, and Query Related Records methods to be used.

    Query

    Allows the Identify method to be used.

  3. 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.
  4. 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:

  1. 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 Files\ArcGIS\Pro\Resources\TilingSchemes.
      Note:

      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.

  2. 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.
  3. 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.
  4. Choose a server cache directory from the Cache directory menu to store the cache tiles.
  5. 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.
  6. 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:

  1. 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.
  2. 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.

  3. 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.
  4. Check Export Data to allow others to export the data to different formats.
  5. 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.
  6. 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.
  7. Check Allow geometry updates without m-value to allow geometry updates to m-enabled features without specifying an m-value.
  8. Click the Back button Back to return to the list of capabilities.

Parameters

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.

  1. In the Publish Map Service pane, on the Configuration tab, click Configure Parameters.
  2. 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.
  3. 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.
  4. 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.

Related topics