You can use Open Geospatial Consortium, Inc. (OGC), services that are available on the web, such as WMS and WMTS services, when using ArcGIS Pro.
For more information regarding OGC WMS specifications, see the OGC website at www.opengeospatial.org/standards.
The OGC Web Map Service (WMS) is a map portrayal service used to publish a collection of map layers to embed in your interactive web maps. The WMS specification expresses the map contents as map layers using XML. The primary use of the WMS is to openly serve interactive map images on the Internet.
WMS client support in ArcGIS allows you to access these services over the Internet and add a WMS layer your maps.
View WMS services in the Contents pane
After connecting to a WMS server, a WMS service connection is shown in the Server folder in the Catalog pane. You can add the entire service to your map. The first 20 layers will be turned on automatically since a WMS service doesn't define which of its layers are visible. This allows you to view several layers at once without having a large number of individual layers to turn on or off. When you initially zoom in on WMS services, you won't necessarily see more detail unless the layers providing more detailed data are in those first 20 layers.
When added to ArcGIS Pro, the WMS service layer's entry in the Contents pane is contracted to save space, but you can expand it and its groups to see the individual layers it contains.
A WMS service layer is made up of three entries that are arranged hierarchically in the Contents pane. At the top is the name of the WMS service, which contains all the WMS map layers. The next level is WMS group layers, whose only function is to organize WMS sublayers into related groups. There is at least one WMS group layer, but there can be any number of WMS group layers (and even nested groups within groups). WMS group layers do not contain any map layers; it is the third group, WMS sublayers, that actually contains the map layers.
WMS group layers and sublayers are always part of a WMS service. When you add individual WMS sublayers, you'll create one WMS service entry in the Contents pane for each sublayer added. The more WMS service sublayers there are in the map or scene, the more requests to the server are sent, which can affect performance. To minimize these requests, you can add a single WMS sublayer. You can use the Layer Properties dialog box to add additional, or remove, WMS sublayers of an existing WMS map layer in ArcGIS Pro. When adding a small list of WMS sublayers, a flat list of layers with no group layers is added to the Contents pane.
WMS service sublayer legends
When a WMS service includes legend information, you can view the WMS sublayer's symbology in the Contents pane by expanding a layer in the service. The legends for the layers in WMS services are all hidden by default in the Contents pane, since accessing a legend for one layer in a WMS service requires sending a request to the server. For each additional layer, an additional request is sent to the server. This can affect how quickly the map and legend are displayed.
Some WMS services do not include legend information about the symbols used by the layers in the service. When legend information is not available, no symbology is shown for the layers in the Contents pane. These layers will be listed in the Contents pane, but they cannot be expanded.
The size of WMS legends can vary. With WMS services, the legends for layers are transmitted over the Internet as one image with all the symbols. If the layer contains multiple legend styles, you can choose which style to use as well as the size of the requested style.
Change the style of a WMS service sublayer
The rendering of a WMS sublayer is determined by a style. The WMS specification allows a WMS layer to contain a list of styles in which the layer can be rendered. The WMS server may make the style symbology available to the user as a legend. If the WMS service supports legends, you can use the styles to preview a WMS service sublayer's legend. If the sublayer has multiple styles listed in the service capabilities, you can use the Styles tab to choose the style you want.
- Choose a WMS sublayer in the Contents pane.
- On the Appearance tab, in the Drawing group, click the Symbology drop-down menu. In the Symbology gallery, click the style you want
The Symbology pane appears, displaying the current style information.
- You can change the legend height, legend width, and the URL defining the style.
Change the display of a WMS service layer
The Layers tab displays all the members of the WMS service. When the Select the sublayers to include option is selected, you can move the sublayers you want to display from the List of all layers list to the Ordered sublayers to include list. Information provided by the WMS server for each WMS layer is displayed when you hover over a WMS layer in one of the lists. You can change the layer drawing order by moving sublayers up or down in the list.
The Display tab allows you to change the properties of the WMS service. For example, you can change the background color or make the background color transparent. You can also define the image format type that you would like to request from the WMS service. Some WMS servers support additional map parameters that are specific to the WMS server itself. You can add and remove these parameters in the Custom request parameters list. ArcGIS Pro will not validate the settings to ensure that the service is honoring these map parameters.
For other layer types, you can change common properties of the layer such as transparency and visibility range, or swipe the layer using the ribbon contextual tab.
- Choose a WMS layer in the Contents pane.
- On the Appearance tab, use the tools to adjust the appearance of the layer as needed.
Get information about a WMS service layer
The service layer properties Source tab displays information such as the map extent, data (service) type, URL, service name, and default coordinate system of the service.
The layer name shown may not be the same as what is in the Contents pane and on the General tab. This is because the text used for the layer name on the Source tab is taken from the <Name> tag in the WMS service capabilities file, which is the file used to describe the service. However, ArcGIS Pro uses the more descriptive <Title> tag from the capabilities file to populate the layer name for the Contents pane and the General tab.
You can get information about each WMS sublayer from the service layer properties Layers tab. Choose Select the sublayers to include and hover in the List of all layers or the Ordered sublayer to include list of the WMS service sublayers. You can view the capabilities of the sublayer: whether the layer supports Identify, whether a legend is available for the sublayer, the default coordinate system, and a list of server-supported coordinate systems for this particular sublayer.
Identify features from a WMS layer
According to the OGC WMS specification, WMS services are not required to support <GetFeatureInfo>, which is the request ArcGIS Pro sends to the server when you query features in a WMS service. If the service supports identifying, you'll see its sublayers listed in the pop-up window. If they aren't listed, you won't be able to identify features from that WMS service.
Identify tolerance levels are determined by the WMS server, not ArcGIS Pro. When identifying WMS point features, you may have to repeat your clicks until you get close enough to the feature to register a positive result.
Identifying features is the only querying task you can perform on WMS data, although the format of information you receive can vary depending on the server. ArcGIS Pro displays what is returned by the server inside an Internet Explorer control embedded in the Identify window. The result of an Identify query may be provided as field-value pairs, HTML, or images.
However, not all WMS services will support identifying. In addition, no WMS services will support the following querying operations:
- Show popup
- Selecting features
- Performing geoprocessing
WMS service layers and coordinate systems
In the current version of ArcGIS Pro, only the default coordinate system is used, and you can not change it. However, if you change the coordinate system of the map or scene, the map's coordinate system will be requested.