LuciadCPillar 2025.0.01
luciad::LtsCapabilities Class Referencefinal

Encapsulates the capabilities of an LTS source. More...

#include <luciad/formats/lts/LtsCapabilities.h>

Public Member Functions

 ~LtsCapabilities ()
 
const std::vector< std::shared_ptr< LtsCoverageData > > & getCoverageData () const
 Returns possible coverage data available from the source url. More...
 
const std::string & getVersion () const
 Returns the capabilities specification version. More...
 

Static Public Member Functions

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

Detailed Description

Encapsulates the capabilities of an LTS source.

Since
2025.0

Constructor & Destructor Documentation

◆ ~LtsCapabilities()

luciad::LtsCapabilities::~LtsCapabilities ( )

Member Function Documentation

◆ getCapabilities() [1/2]

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

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

Parameters
urlthe source's base url from which capabilities have to be retrieved.
Returns
capabilities parsed from the server, or an error message explaining why it failed.

◆ getCapabilities() [2/2]

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

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

Parameters
urlthe source's base url from which capabilities have to be retrieved.
optionsoptions for getting capabilities e.g. http client or type filter
Returns
capabilities parsed from the server, or an error message explaining why it failed.

◆ getCoverageData()

const std::vector< std::shared_ptr< LtsCoverageData > > & luciad::LtsCapabilities::getCoverageData ( ) const

Returns possible coverage data available from the source url.

Only returns supported coverages.

  • Multi-band coverages are not supported.
  • Raster coverages that include elevation data should have measureTypeCode set to 'terrain height' or datatype set to "SIGNED_SHORT" and significant bits equal to 16
Returns
Available coverage data.

◆ getVersion()

const std::string & luciad::LtsCapabilities::getVersion ( ) const

Returns the capabilities specification version.

The currently supported & latest version is 1.1.1.

Returns
Version number.