External Web Feature Server¶
GeoServer has the ability to load data from a remote Web Feature Server (WFS). This is useful if the remote WFS lacks certain functionality that GeoServer contains. For example, if the remote WFS is not also a Web Map Server (WMS), data from the WFS can be cascaded through GeoServer to utilize GeoServer’s WMS. If the remote WFS has a WMS but that WMS cannot output KML, data can be cascaded through GeoServer’s WMS to output KML.
Adding an external WFS¶
To connect to an external WFS, it is necessary to load it as a new datastore. To start, navigate to Stores ‣ Add a new store ‣ Web Feature Server.
Adding an external WFS as a store
| Option | Description |
| Workspace | Name of the workspace to contain the store. This will also be the prefix of all of the layer names created from the store. |
| Data Source Name | Name of the store as known to GeoServer. |
| Description | Description of the store. |
| Enabled | Enables the store. If disabled, no data from the external WFS will be served. |
| GET_CAPABILITIES_URL | URL to access the capabilities document of the remote WFS. |
| PROTOCOL | When checked, connects with POST, otherwise uses GET. |
| USERNAME | The user name to connect to the external WFS. |
| PASSWORD | The password associated with the above user name. |
| ENCODING | The character encoding of the XML requests sent to the server. Defaults to UTF-8. |
| TIMEOUT | Time (in milliseconds) before timing out. Default is 3000. |
| BUFFER_SIZE | Specifies a buffer size (in number of features). Default is 10 features. |
| TRY_GZIP | Specifies that the server should use GZIP to transfer data if supported by the server. |
| LENIENT | When checked, will try to render features that don’t match the appropriate schema. Errors will be logged. |
| MAXFEATURES | Maximum amount of features to retrieve for each featuretype. Default is no limit. |
When finished, click Save.
Previous: Directory of spatial files
Next: Java Properties