This class can be used to create an IRasterModel implementation that can read WMTS tiles.
More...
#include <luciad/formats/wmts/WmtsModelDecoder.h>
This class can be used to create an IRasterModel implementation that can read WMTS tiles.
- See also
- WmtsModelDecoder::decode for more details.
◆ WmtsModelDecoder()
luciad::WmtsModelDecoder::WmtsModelDecoder |
( |
| ) |
|
|
delete |
◆ ~WmtsModelDecoder()
luciad::WmtsModelDecoder::~WmtsModelDecoder |
( |
| ) |
|
|
delete |
◆ decode() [1/2]
Creates a WMTS raster model, or returns information about why this model can not be created.
This method does not support the entire WMTS specification. The following restrictions are used:
- The returned raster model uses KVP (Key Value Pair) or REST requests. XML is not supported.
- Parameters
-
source | The structure describing the source to use for data retrieval. |
options | Options for decoding WMTS data, e.g. an optional http client implementation to send HTTP requests when fetching WMTS resources. |
sourceCapabilities | The source's capabilities. Can be retrieved before using WmtsCapabilities::getCapabilities and reused. If set to nullptr , will be queried internally. |
- Returns
- either the newly created model, or error information.
- Since
- 2023.0
◆ decode() [2/2]
Creates a WMTS raster model, or returns information about why this model can not be created.
- Parameters
-
source | The structure describing the source to use for data retrieval. |
sourceCapabilities | The source's capabilities. Can be retrieved before using WmtsCapabilities::getCapabilities and reused. If set to nullptr , will be queried internally. |
- Returns
- either the newly created model, or error information.