LuciadCPillar 2026.1.02
Loading...
Searching...
No Matches
luciad::WfsFeatureType Class Referencefinal

Contains information about a feature type as described in a WFS GetCapabilities response. More...

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

Public Member Functions

 ~WfsFeatureType ()
const std::optional< std::string > & getAbstract () const
 Returns the feature type's abstract.
const std::shared_ptr< WfsBoundingBox > & getBounds () const
 Returns the feature type's bounding box.
const std::string & getIdentifier () const
 Returns the feature type's identifier.
const std::vector< std::string > & getKeywords () const
 Returns the feature type's keywords.
const std::vector< std::string > & getOutputFormats () const
 Returns the output formats this feature type advertises for GetFeature responses, for example "application/json" or "application/gml+xml; version=3.2".
const std::string & getTitle () const
 Returns the feature type's title.

Detailed Description

Contains information about a feature type as described in a WFS GetCapabilities response.

Since
2026.0

Constructor & Destructor Documentation

◆ ~WfsFeatureType()

luciad::WfsFeatureType::~WfsFeatureType ( )

Member Function Documentation

◆ getAbstract()

const std::optional< std::string > & luciad::WfsFeatureType::getAbstract ( ) const

Returns the feature type's abstract.

Returns
the feature type's abstract.

◆ getBounds()

const std::shared_ptr< WfsBoundingBox > & luciad::WfsFeatureType::getBounds ( ) const

Returns the feature type's bounding box.

Returns
the feature type's bounding box.

◆ getIdentifier()

const std::string & luciad::WfsFeatureType::getIdentifier ( ) const

Returns the feature type's identifier.

Returns
the feature type's identifier.

◆ getKeywords()

const std::vector< std::string > & luciad::WfsFeatureType::getKeywords ( ) const

Returns the feature type's keywords.

Returns an empty vector when the feature type doesn't have a keyword.

Returns
the feature type's keywords. Returns an empty vector when the feature type doesn't have a keyword.

◆ getOutputFormats()

const std::vector< std::string > & luciad::WfsFeatureType::getOutputFormats ( ) const

Returns the output formats this feature type advertises for GetFeature responses, for example "application/json" or "application/gml+xml; version=3.2".

These are the formats listed for this feature type in the WFS capabilities. When the capabilities list no formats for this feature type, this method instead returns the formats that the server advertises for its GetFeature operation: those apply to every feature type, and some servers advertise formats only there. Returns an empty vector when the capabilities advertise no output formats at either level.

Returns
the feature type's advertised output formats, falling back to the server's GetFeature output formats, or an empty vector when none were advertised.
Since
2026.1

◆ getTitle()

const std::string & luciad::WfsFeatureType::getTitle ( ) const

Returns the feature type's title.

Returns
the feature type's title.