Class WMTSLayerParam


public final class WMTSLayerParam extends AbstractWMXLayerParams
The parameters for configuration a WMTS layer.
  • Field Details

    • baseURL

      public String baseURL
      The ‘ResourceURL’ available in the WMTS capabilities.

      Example (for requestEncoding: "KVP"):

      
       baseUrl: "http://domain.com/wmts"
       
      Example (for requestEncoding: "REST"):
      
       baseUrl: "http://domain.com/wmts/roads/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png"
       
      The following URL template variables are replaced:
      • {Layer}
      • {style}
      • {TileMatrixSet}
      • {TileMatrix}
      • {TileRow}
      • {TileCol}
      • {[DIMENSION.IDENTIFIER]}
    • layer

      public String layer
      The layer name.
    • version

      public String version
      The WMTS protocol version to use.
    • requestEncoding

      public RequestEncoding requestEncoding
      The way to make the requests. Either KVP or REST (default).
    • style

      public String style
      The style name (for styles on the WMTS server).
    • dimensions

      public String[] dimensions
      The "sample" dimensions or image color bands to retrieve.

      This can be null, if so then the default dimensions will be returned. If specified they must be dimensions supported by the server.

      These are keys to the dimensionParams.

    • dimensionParams

      public PObject dimensionParams
      Dictionary of dimensions name (Must be uppercase) => value.
    • imageFormat

      public String imageFormat
      The format of the image. for example image/png, image/jpeg, etc...
    • matrixSet

      public String matrixSet
      Reference/Identifier to a tileMatrixSet and limits.
    • matrices

      public Matrix[] matrices
      Array of matrix ids.

      Example:

      
       [{
         "identifier": "0",
         "matrixSize": [1, 1],
         "scaleDenominator": 4000,
         "tileSize": [256, 256],
         "topLeftCorner": [420000, 350000]
         }, ...]
       
  • Constructor Details

    • WMTSLayerParam

      public WMTSLayerParam()
  • Method Details