Skip to main content

WFS To Feature Class (Conversion Tools)

Summary

Imports a feature type from a Web Feature Service (WFS) to a feature class in a geodatabase.

Usage

  • Download features from a simple or complex WFS service.

  • When the URL has been specified for the WFS Server parameter, all feature types published from the server will be listed for the Select Feature Type to Extract parameter's options. Examples can include WFS feature types for schools, roads, and parcels.

  • By default, all features from the WFS source are added to the feature class. The Output Extent environment can be used to limit the features to only those that intersect a user-defined extent. You can also specify an output configuration keyword using the geodatabase settings section of the environment settings.

Parameters

Label Explanation Data type

WFS Server

The URL of the source WFS service (for example, http://sampleserver6.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WFSServer?). If the input is a complex WFS service (the Complex WFS service parameter is checked), this can also be the path to the .xml file.

String

Select Feature Type to Extract

The name of the WFS layer that will be extracted from the input WFS service.

String

Output Location

The location of the output feature class or geodatabase.

If the input is a simple WFS service, the output location can be a geodatabase or a feature dataset in a geodatabase. If the output location is a feature dataset, the coordinates will be converted from the source coordinate system to the coordinate system of the feature dataset.

If the input is a complex WFS service, the output location must be a folder.

Workspace; Feature Dataset; Folder

Name

The name of the output feature class or geodatabase.

If the input is a simple WFS service, the name will be used to create a feature class in the output location. If the feature class name already exists in the geodatabase, the name will be automatically incremented. By default, the feature type name is used.

If the input is a complex WFS service, the name will be used to create a geodatabase in the output location.

String

Complex WFS service

(Optional)

Specifies whether the WFS Server parameter value is a complex WFS service.

  • CheckedThe WFS service is a complex WFS service.

  • UncheckedThe WFS service is not a complex WFS service. This is the default.

Boolean

Max Features

(Optional)

The maximum number of features that can be returned. The default is 1000.

Long

Expose Metadata

(Optional)

Specifies whether metadata tables will be created from the service. This is only applicable to complex WFS services.

  • CheckedMetadata tables will be created in the output geodatabase.

  • UncheckedMetadata tables will not be created in the output geodatabase. This is the default.

Boolean

Swap XY Axis Order

(Optional)

Specifies whether the x,y axis order of the output feature class will be swapped. Some WFS services may have the order of the x,y coordinates swapped on the server side, causing the feature class to display incorrectly.

  • CheckedThe x,y axis order will be swapped.

  • UncheckedThe x,y axis order will not be swapped. This is the default.

Boolean

Page Size

(Optional)

The page size that will be used when downloading features from the WFS service. The default is 100.

Some servers limit the number of features that can be requested at a time or server performance may be slow when requesting a large number of features in a single request. Use this parameter to request a smaller number of features in multiple pages to avoid server timeouts or maximum feature limits.

This parameter is only applicable for simple WFS 2.0 services that support the startIndex and count WFS parameters. The parameter will be ignored for older versions of WFS (1.1.0 and 1.0.0).

Long

Derived output

Label Explanation Data type

Output Feature Class

The output feature class when converting a simple WFS service.

Feature Class

Output Workspace

The output file geodatabase when converting a complex WFS service.

Workspace

Environments

Extent, Output CONFIG Keyword

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes