ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Accessing your data from the WFS connection

Available with Production Mapping license.

  • Using the WFS Connection string format

You can access your data in ArcMap from the Web Feature Service (WFS) connection so you can edit and publish back to the service.

Note:

The WFS must have transactional capability enabled to edit features.

  1. Add a WFS connection to your WFS service from ArcMap.
  2. Expand the WFS connection in the Catalog window.
  3. Zoom to your area of interest.
  4. Drag the feature classes you want from the service to the map.

    Only the features that intersect the current extent will be consumed. You can now edit your data in an edit session.

  5. Once you've edited your features, save your edits in the current session and stop the edit session.

    You can now publish your edits to the service.

Using the WFS Connection string format

The following connection string format can be used with the WFSToGeodatabase tool's WFS Server parameter to make WFS server data accessible. A value can be passed in any of the following formats:

  • Service URL—The URL of the source WFS service.
  • WFS Connection file—The encrypted connection file (.wfs) that supports additional properties such as filtering, request method type, WFS version, axis ordering, authorization information security, and so on.
  • WFS Connection string—The plain text format WFS connection file. The following is an example format for WFS connection strings:

    SERVER=http://www.example.com:6080/services/us/WFSServer;FLIPAXISORDER=yes; 
    FEATURETYPES=us:cities,us:roads;
    

Supported WFS properties

PropertyTypeValues

Server

String

Escaped service URL

Version

String

1.1.0 or 2.0.0

Username

String

Escaped username

Password

String

Escaped password

FeatureTypes

String

Comma-separated value (CSV) list of qualified feature types

MaxFeatureCount

Integer

Nonzero value (0 means no limitation)

FlipAxisOrder

Boolean

YES | NO

UseFieldAlias

Boolean

YES | NO

UseHttpGET

Boolean

YES | NO

Note the following additional considerations for WFS properties:

  • The properties are delimited with semicolons, while property/value pairs are delimited with the equal sign.
  • The connection string should always start with the “Server=” property.
  • If a value contains a space or any of the special characters [ :;/<>=”#%&?@ ], it should be encoded using the URL escape characters. For more information, see the HTML URL Encoding Reference.
  • The property names and values are case insensitive, except username and password.
  • Feature type items should be qualified with a namespace prefix.
  • You can use any of these values to set the Boolean values: yes, true, 1.
  • Only the prefix of the WFS version is checked when validating, which means that 1.1 and 2.0 are valid versions.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal