Skip To Content

Add WFS services

A Web Feature Service (WFS) is an open specification for serving geographic features over the web. Unlike a Web Map Service (WMS), a WFS service returns actual features with geometry and attributes. You can connect to an Open Geospatial Consortium (OGC) WFS service inArcGIS Pro by creating a WFS service connection or adding a WFS item from your active portal.

Add a WFS server connection

  1. On the Insert tab, in the Project group, click the Connections drop-down list and click New WFS Server.

    The Add WFS Server Connection dialog box appears.

  2. Type the URL of the WFS server site you want to connect to in the Server URL text box. The URL varies depending on the site configuration.

    For example, http://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WFSServer

  3. Select the WFS version you want to connect to. The default version connects to the highest number version supported on the server.
  4. If the WFS service you are connecting to has additional capabilities, you can add custom request parameter names and values into the Custom request parameters section. Be aware that ArcGIS Pro will not be able to validate these additional parameters.

    To add custom parameters, do the following:

    1. Click in the first cell.
    2. Specify the parameter name in the cell under the Parameter column.
    3. Specify the parameter value in the cell under the Value column.
    4. To add additional parameters, click the Add Row button and repeat steps a–c.

    To delete custom parameters, do the following:

    1. Select the row that contains the parameter to be deleted.
    2. Click Remove Row to delete the row.
    3. Repeat steps a and b for every parameter to be deleted.
  5. Type your user name and password if appropriate.

    If you want to save your user name and password information to avoid entering it each time you connect, check the Save Username/Password check box.

  6. Click OK.

    A WFS connection file (.wfs) 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 Servers folder on the Project tab of the Catalog pane.

  7. Expand the WFS connection to view the layers present in the WFS service. Right-click a layer and click either Add to new map or Add to current map to add the WFS layer to the map. You can also add the service to the map by dragging it onto the map or into the Contents pane.

    The WFS item will be added to the map. You can optionally cancel adding the layer to the map by clicking Cancel on the progress dialog. If your data does not display as expected when added to the map, you can modify the WFS layer properties.

WFS services allow you to add one or more layers. You can select a group of layers by pressing Shift and clicking the first and last sublayer in the group you want to add. You can also select non-sequential layers by pressing Ctrl and clicking each individual layer. After selecting the layers, right-click the selected layers and choose to either add them to your current map or to a new map. Adding multiple layers at one time will take a longer time than adding just one layer.

Add a WFS service from your active portal connection

WFS services can also be added to your portal. There are three sources for WFS items in your portal:

  • WFS services that are published to ArcGIS Server sites you have federated with your portal are added automatically as items in your portal.
  • Third-party WFS services that are added as an item in your portal.
  • Hosted WFS services. These services are created by publishing a WFS service from a hosted feature layer.

Each of these types of WFS portal items can be added to the map the same way:

  1. On the Catalog pane, click the Portal tab
  2. Browse of search for the WFS items you want to use in the My Content, Groups, or All Portal collections

    With your mouse, you can hover over a portal item to see the item type.

  3. Right-click the item and click either Add to new map or Add to current map to add the WFS layer to the map. You can also add the service to the map by dragging it onto the map or into the Contents pane.

    If the service contains multiple layers, you will be prompted to choose which layer to add to the map.

    The WFS item will be added to the map. You can optionally cancel adding the layer to the map by clicking Cancel on the progress dialog. If your data does not display as expected when added to the map, you can modify theWFS layer properties.

WFS services allow you to add one or more layers. You can select a group of layers by pressing Shift and clicking the first and last sublayer in the group you want to add. You can also select non-sequential layers by pressing Ctrl and clicking each individual layer. After selecting the layers, right-click the selected layers and choose to either add them to your current map or to a new map. Adding multiple layers at one time will take a longer time than adding just one layer.

Related topics