public abstract class WMTSTileMatrixImpl extends WMTSBaseStruct implements WMTSTileMatrix
Modifier and Type | Field and Description |
---|---|
protected boolean |
forceChangeAxisOrder |
gmlTag
Constructor and Description |
---|
WMTSTileMatrixImpl() |
Modifier and Type | Method and Description |
---|---|
void |
checkChangeAxis() |
java.util.List<WMTSTile> |
contains(boolean projected,
java.awt.geom.Point2D point,
java.awt.geom.Rectangle2D extentLayer)
This function will check if the request coordinates intersects with the tiles in the matrix.
|
java.util.List<WMTSTile> |
contains(boolean projected,
WMTSTileMatrixLimits tileMatrixLimits,
java.awt.geom.Point2D point,
java.awt.geom.Rectangle2D extentLayer)
This function will check if the request coordinates intersects with the tiles in the matrix.
|
java.awt.geom.Rectangle2D |
getBBoxTileMatrixSet()
Sets longitude first in the axis order read from the capabilities file
|
double |
getHeightWCTile(boolean projected)
Gets the height in world coordinates of a tile
|
long |
getMatrixHeight() |
long |
getMatrixWidth() |
double |
getScaleDenominator() |
java.lang.String |
getSupportedCRS()
Gets the CRS supported by the parent
|
int |
getTileHeight() |
int |
getTileWidth() |
double[] |
getTopLeftCorner() |
double |
getWidthWCTile(boolean projected)
Gets the width in world coordinates of a tile
|
java.util.List<WMTSTile> |
intersects(boolean projected,
java.awt.geom.Rectangle2D request,
java.awt.geom.Rectangle2D extentLayer)
This function will check if the request coordinates intersects with the tiles in the matrix.
|
java.util.List<WMTSTile> |
intersects(boolean projected,
WMTSTileMatrixLimits tileMatrixLimits,
java.awt.geom.Rectangle2D request,
java.awt.geom.Rectangle2D extentLayer)
Deprecated.
this method was for grid subsets.
|
void |
parse(KXmlParser parser)
Parses this service ID
|
abstract void |
parse(KXmlParser parser,
java.util.List<WMTSTileMatrix> list)
Parses this service
|
void |
print() |
void |
setBBoxTileMatrixSet(java.awt.geom.Rectangle2D bbox) |
void |
setForceChangeAxisOrder(boolean force)
Force to change the axis order read from the capabilities
|
void |
setMatrixHeight(long matrixHeight) |
void |
setMatrixWidth(long matrixWidth) |
void |
setScaleDenominator(double scaleDenominator) |
void |
setSupportedCRS(java.lang.String parentSupportedCRS)
Sets the CRS supported by the parent
|
void |
setTileHeight(int tileHeight) |
void |
setTileWidth(int tileWidth) |
compareName, getAbstract, getIdentifier, getTitle, nextText, setAbstract, setIdentifier, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIdentifier
public void setForceChangeAxisOrder(boolean force)
force
- public void setSupportedCRS(java.lang.String parentSupportedCRS)
parentSupportedCRS
- public java.lang.String getSupportedCRS()
public void checkChangeAxis()
public void setBBoxTileMatrixSet(java.awt.geom.Rectangle2D bbox)
public java.awt.geom.Rectangle2D getBBoxTileMatrixSet()
WMTSTileMatrix
getBBoxTileMatrixSet
in interface WMTSTileMatrix
public abstract void parse(KXmlParser parser, java.util.List<WMTSTileMatrix> list) throws java.io.IOException, XmlPullParserException
parser
- content
- java.io.IOException
XmlPullParserException
public double getScaleDenominator()
getScaleDenominator
in interface WMTSTileMatrix
public void setScaleDenominator(double scaleDenominator)
public int getTileWidth()
getTileWidth
in interface WMTSTileMatrix
public void setTileWidth(int tileWidth)
public int getTileHeight()
getTileHeight
in interface WMTSTileMatrix
public void setTileHeight(int tileHeight)
public long getMatrixWidth()
getMatrixWidth
in interface WMTSTileMatrix
public void setMatrixWidth(long matrixWidth)
public long getMatrixHeight()
getMatrixHeight
in interface WMTSTileMatrix
public void setMatrixHeight(long matrixHeight)
public double[] getTopLeftCorner()
getTopLeftCorner
in interface WMTSTileMatrix
public void parse(KXmlParser parser) throws java.io.IOException, XmlPullParserException
WMTSBaseStruct
parse
in class WMTSBaseStruct
java.io.IOException
XmlPullParserException
public double getWidthWCTile(boolean projected)
getWidthWCTile
in interface WMTSTileMatrix
public double getHeightWCTile(boolean projected)
getHeightWCTile
in interface WMTSTileMatrix
public java.util.List<WMTSTile> intersects(boolean projected, WMTSTileMatrixLimits tileMatrixLimits, java.awt.geom.Rectangle2D request, java.awt.geom.Rectangle2D extentLayer)
intersects
in interface WMTSTileMatrix
public java.util.List<WMTSTile> intersects(boolean projected, java.awt.geom.Rectangle2D request, java.awt.geom.Rectangle2D extentLayer)
intersects
in interface WMTSTileMatrix
public java.util.List<WMTSTile> contains(boolean projected, java.awt.geom.Point2D point, java.awt.geom.Rectangle2D extentLayer)
contains
in interface WMTSTileMatrix
public java.util.List<WMTSTile> contains(boolean projected, WMTSTileMatrixLimits tileMatrixLimits, java.awt.geom.Point2D point, java.awt.geom.Rectangle2D extentLayer)
contains
in interface WMTSTileMatrix
public void print()