To edit a WFS feature type:
From the feature types tree, click the WFS feature type you want to edit.
On the details page for the feature type, click Edit.
An editable view of the WFS feature type appears.
On the Feature Type Info tab, edit the following fields as needed:
- Change the namespace by selecting an existing one.
- The referenced name for the feature type. This will be the name used
when referring to the feature in requests and responses.
- Human-readable title for the feature type. Although this field is not required, it
allows you to name the feature type using special characters and spaces in the name:
"World Population *1999*
- Reference Table
- The named table that a feature type uses. Click to browse for one.
If the table is in an SRS that only has a MapInfo code and no
EPSG code, be aware that this feature type will not work with
most WFS clients.
- Defines a descriptive introduction for the feature type.
- Words or phrases that describe the feature
- Write Feature Bounds
- If set to Yes, then every feature returned by a GetFeature request will include the
bounding box of its geometry.
- Bounding Box
- If Writer Feature Bounds is set to Yes, the bounds that are returned by
the GetCapabilities request. By default we calculate the bounds of
your data but you can optionally override that to force a
GetCapabilities to return something else. The bounding box must be
represented in the SRS of your table's data.
For the Columns section, edit the following fields as needed:
- The name of the column from the table. If no alias exists then this
column will be referenced by this name.
Note: Spectrum Spatial does
not allow raster or style column types in WFS.
- The alternative name this column will be for WFS requests. Setting this means you can no
longer reference this column by its actual name. For example, you could provide an alias
of "Female Population" for a column named "Pop_Fem".
- If set, this column will not be shown in WFS responses and cannot be queried.
- If set, this column will always be returned in a GetFeature request.
Optional From the GetFeature Preview tab, select at least one
column to see a preview of the GetFeature request. The purpose of the preview
tab is to test the feature type using a DescribeFeatureType to retrieve the
columns, then performing a GetFeature request to show features. You may also set
Maximum Features to limit your results to a subset; the value in this field must
be at least 1 and cannot exceed the Maximum Features value on the WFS Settings
page. If left blank then there is no limit in number of features returned;
however, if you exceed the Maximum Features on the Settings page then you will
receive an error.