A Web Map Service (WMS) delivers georeferenced map images. A WMS service may also contain a Styled Layer Descriptor (SLD) to specify how the WMS layer is to be symbolized and portrayed.
- On the Insert tab, in the Project group, click Connections > Server > New
WMS Server .
The Add WMS Server Connection dialog box appears.
- Type the URL of the WMS server site you want to connect to in the Server URL text box.
The URL varies depending on the site configuration.
- Specify the Version number of the server, if applicable.
- If the WMS server you are connecting to has additional capabilities, expand the Custom request parameters section and type the custom request parameters specific to this WMS server as a parameter list.
ArcGIS AllSource cannot validate these additional parameters.
- Authenticate the service by doing one of the following:
- If the service is secured using basic authentication, in the Authentication drop-down menu, click Server Authentication, and type the username and password. To save the username and password to Windows Credential Manager or in the connection file, check the options under the Save Login heading.
- If the service is secured using OAuth 2.0-based authentication, in the Authentication drop-down menu, click the appropriate connection from the drop-down list. See Connect to authentication providers from ArcGIS Pro to learn how to add a connection to authentication providers if one is not available. If necessary, click Sign In to authenticate the connection with the provider.
- Click OK.
A WMS connection file (.wms) is created and saved in the project's home folder. An item referencing this connection file is added to the project, and the connection appears in the Catalog pane and the catalog view.
Right-click the WMS service in the Catalog pane to add the service to the current or a new map. You can also add the service by dragging it to the map or Contents pane.
WMS services allow you to add one or more sublayers. You can select a group of sublayers by pressing Shift and clicking the first and last sublayer in the group you want to add. You can also select nonsequential sublayers by pressing Ctrl and clicking each individual sublayer. After selecting the sublayers you want, right-click the selected sublayers and choose to either add them to your current map or to a new map.
Note:
When you add individual WMS sublayers, you create one WMS service entry in the table of contents for each sublayer you add. Additional service layers require additional requests to the server, which can affect performance. To minimize these requests, you may want to add an entire WMS layer and use the Layers tab on the Properties dialog box to define the list of WMS sublayers.
A WMS service doesn't define which of its layers appear turned on when you initially access it. ArcGIS AllSource automatically turns on the first 20 layers in any WMS service you add to a map or scene.