public class

WMTSTileMatrix

extends OwsDescription
java.lang.Object
   ↳ com.esri.core.ogc.OwsItem
     ↳ com.esri.core.ogc.OwsDescription
       ↳ com.esri.core.ogc.wmts.WMTSTileMatrix

Class Overview

An instance of this class defines one level of detail for a layer in a WMTS service. It defines the tile matrix origin, size in tiles and the size of each tile.

Summary

[Expand]
Inherited Fields
From class com.esri.core.ogc.OwsItem
Public Constructors
WMTSTileMatrix()
WMTSTileMatrix(TileInfo tileInfo, LOD lod)
Create an instance of this class from the given TileInfo and LOD.
Public Methods
void endElement(String localNames)
This method is called when we reach the end of the XML element with the given name.
String getIdentifier()
Gets the identifier for this tile matrix.
int getMatrixHeight()
Returns the height of this tile matrix in tiles.
int getMatrixWidth()
Returns the width of this tile matrix in tiles.
double getScaleDenominator()
Indicates the scale of this tile matrix.
int getTileHeight()
Returns the height of a single tile in pixels.
int getTileWidth()
Returns the width of a single tile in pixels.
Point getTopLeftCorner()
Returns the origin of this tile matrix.
[Expand]
Inherited Methods
From class com.esri.core.ogc.OwsDescription
From class com.esri.core.ogc.OwsItem
From class java.lang.Object

Public Constructors

public WMTSTileMatrix ()

public WMTSTileMatrix (TileInfo tileInfo, LOD lod)

Create an instance of this class from the given TileInfo and LOD.

Parameters
tileInfo TileInfo: this provides the origin and tile size
lod LOD: this provides the scale denominator and identifier

Public Methods

public void endElement (String localNames)

This method is called when we reach the end of the XML element with the given name. Note that this method will be called for subsequent child elements as well as sibling elements. Use the contents of the stack to determine where we are in the XML being parsed.

public String getIdentifier ()

Gets the identifier for this tile matrix. This is the value that should be used with the TileMatrix parameter for tile requests in KVP mode or the TileMatrix token in a parameterized REST URL.

Returns
String identifier for this style

public int getMatrixHeight ()

Returns the height of this tile matrix in tiles.

Returns
int height of this tile matrix in tiles

public int getMatrixWidth ()

Returns the width of this tile matrix in tiles.

Returns
int width of this tile matrix in tiles

public double getScaleDenominator ()

Indicates the scale of this tile matrix. Scale is 1:ScaleDenominator.

Returns
double denominator part of scale

public int getTileHeight ()

Returns the height of a single tile in pixels.

Returns
int height of a single tile in pixels

public int getTileWidth ()

Returns the width of a single tile in pixels.

Returns
int width of a single tile in pixels

public Point getTopLeftCorner ()

Returns the origin of this tile matrix.

Returns
Point the origin of this tile matrix