LuciadCPillar 2026.0
Loading...
Searching...
No Matches
luciad::WfsCapabilities Class Referencefinal

Encapsulates the capabilities of a WFS source. More...

#include <luciad/formats/wfs/WfsCapabilities.h>

Public Member Functions

 ~WfsCapabilities ()
const std::vector< std::shared_ptr< WfsFeatureType > > & getFeatureTypes () const
 Returns the feature types found during capabilities parsing.
const std::string & getServerUrl () const
 Returns the entry url for the server.

Static Public Member Functions

static luciad::expected< std::shared_ptr< WfsCapabilities >, ErrorInfogetCapabilities (const std::string &url)
 Returns the capabilities of a given WFS url if it can be retrieved.
static luciad::expected< std::shared_ptr< WfsCapabilities >, ErrorInfogetCapabilities (const std::string &url, const WfsModelDecoderOptions &options)
 Returns the capabilities of a given WFS url if it can be retrieved.

Detailed Description

Encapsulates the capabilities of a WFS source.

Remarks
See WfsCapabilities::getCapabilities for a way of obtaining such information.
Since
2026.0

Constructor & Destructor Documentation

◆ ~WfsCapabilities()

luciad::WfsCapabilities::~WfsCapabilities ( )

Member Function Documentation

◆ 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
urlThe 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]

luciad::expected< std::shared_ptr< WfsCapabilities >, ErrorInfo > luciad::WfsCapabilities::getCapabilities ( const std::string & url,
const WfsModelDecoderOptions & options )
static

Returns the capabilities of a given WFS url if it can be retrieved.

Parameters
urlThe source's base url from which capabilities have to be retrieved.
optionsOptions 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.