LuciadCPillar 2024.0.04
|
Describes a WMTS data source and how to access it. More...
#include <luciad/formats/wmts/WmtsDataSource.h>
Classes | |
class | Builder |
Builder for creating luciad::WmtsDataSource . More... | |
Public Member Functions | |
~WmtsDataSource () | |
const std::optional< std::string > & | getFormat () const |
Returns the preferred format to request images. More... | |
const std::optional< std::string > & | getLayer () const |
Returns the layer to use within the WMTS data provided by the source. More... | |
const std::optional< std::string > & | getStyle () const |
Returns the style to use for the layer. More... | |
const std::string & | getUrl () const |
Returns the base URL of the WMTS data source. More... | |
Static Public Member Functions | |
static Builder | newBuilder () |
Returns the builder class for creation of the WMTS data source. More... | |
Describes a WMTS data source and how to access it.
Used for creating WMTS models.
luciad::WmtsDataSource::~WmtsDataSource | ( | ) |
const std::optional< std::string > & luciad::WmtsDataSource::getFormat | ( | ) | const |
Returns the preferred format to request images.
When specified and the layer offers the specified format, it is used when requesting images.
const std::optional< std::string > & luciad::WmtsDataSource::getLayer | ( | ) | const |
Returns the layer to use within the WMTS data provided by the source.
When no layer is provided, the first layer from the WMTS is used.
const std::optional< std::string > & luciad::WmtsDataSource::getStyle | ( | ) | const |
Returns the style to use for the layer.
When no style is selected, the default advertised in the capabilities is used.
const std::string & luciad::WmtsDataSource::getUrl | ( | ) | const |
Returns the base URL of the WMTS data source.
|
static |
Returns the builder class for creation of the WMTS data source.