public final class WmtsModelDecoder extends Object
IRasterModel
implementation that can read WMTS tiles.WmtsModelDecoder#decode
Modifier and Type | Method and Description |
---|---|
static IRasterModel |
decode(WmtsDataSource source)
Creates a WMTS raster model, or returns information about why this model can not be created.
|
static IRasterModel |
decode(WmtsDataSource source,
WmtsCapabilities sourceCapabilities)
Creates a WMTS raster model, or returns information about why this model can not be created.
|
static IRasterModel |
decode(WmtsDataSource source,
WmtsModelDecoderOptions options)
Creates a WMTS raster model, or returns information about why this model can not be created.
|
static IRasterModel |
decode(WmtsDataSource source,
WmtsModelDecoderOptions options,
WmtsCapabilities sourceCapabilities)
Creates a WMTS raster model, or returns information about why this model can not be created.
|
@NotNull public static IRasterModel decode(@NotNull WmtsDataSource source, @Nullable WmtsCapabilities sourceCapabilities) throws IOException
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 null
, will be queried internally.IOException
- when creation of the model fails.@NotNull public static IRasterModel decode(@NotNull WmtsDataSource source) throws IOException
source
- The structure describing the source to use for data retrieval.IOException
- when creation of the model fails.@NotNull public static IRasterModel decode(@NotNull WmtsDataSource source, @NotNull WmtsModelDecoderOptions options, @Nullable WmtsCapabilities sourceCapabilities) throws IOException
This method does not support the entire WMTS specification. The following restrictions are used:
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 null
, will be queried internally.IOException
- when creation of the model fails.@NotNull public static IRasterModel decode(@NotNull WmtsDataSource source, @NotNull WmtsModelDecoderOptions options) throws IOException
This method does not support the entire WMTS specification. The following restrictions are used:
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.IOException
- when creation of the model fails.