Encapsulates the capabilities of a WFS source.
More...
#include <luciad/formats/wfs/WfsCapabilities.h>
Encapsulates the capabilities of a WFS source.
- Since
- 2026.0
◆ ~WfsCapabilities()
| luciad::WfsCapabilities::~WfsCapabilities |
( |
| ) |
|
◆ getCapabilities() [1/2]
| luciad::expected< std::shared_ptr< WfsCapabilities >, ErrorInfo > luciad::WfsCapabilities::getCapabilities |
( |
const std::string & | url | ) |
|
|
static |
Returns the capabilities of a given WFS url if it can be retrieved.
- Parameters
-
| url | The source's base url from which capabilities have to be retrieved. |
- Returns
- filled capabilities if it was possible to retrieve them, or a description of the problem if it wasn't possible.
◆ getCapabilities() [2/2]
Returns the capabilities of a given WFS url if it can be retrieved.
- Parameters
-
| url | The source's base url from which capabilities have to be retrieved. It is allowed to add a VERSION parameter in the url to request a specific WFS capabilities version. |
| options | Options for decoding WFS data, e.g. an optional http client implementation to send HTTP requests when fetching WFS resources. |
- Returns
- filled capabilities if it was possible to retrieve them, or a description of the problem if it wasn't possible.
◆ getFeatureTypes()
| const std::vector< std::shared_ptr< WfsFeatureType > > & luciad::WfsCapabilities::getFeatureTypes |
( |
| ) |
const |
Returns the feature types found during capabilities parsing.
- Returns
- the array of feature types in the capabilities.
◆ getServerUrl()
| const std::string & luciad::WfsCapabilities::getServerUrl |
( |
| ) |
const |
Returns the entry url for the server.
- Returns
- the entry url for the server.
◆ getVersion()
| const std::string & luciad::WfsCapabilities::getVersion |
( |
| ) |
const |
Returns the capabilities specification version.
The current supported versions are "1.1.0" and "2.0.0".
- Returns
- the capabilities specification version.
- Since
- 2026.0.01