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() |
List<WMTSTile> |
contains(boolean projected,
Point2D point,
Rectangle2D extentLayer)
This function will check if the request coordinates intersects with the tiles in the matrix.
|
List<WMTSTile> |
contains(boolean projected,
WMTSTileMatrixLimits tileMatrixLimits,
Point2D point,
Rectangle2D extentLayer)
This function will check if the request coordinates intersects with the tiles in the matrix.
|
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() |
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
|
List<WMTSTile> |
intersects(boolean projected,
Rectangle2D request,
Rectangle2D extentLayer)
This function will check if the request coordinates intersects with the tiles in the matrix.
|
List<WMTSTile> |
intersects(boolean projected,
WMTSTileMatrixLimits tileMatrixLimits,
Rectangle2D request,
Rectangle2D extentLayer)
Deprecated.
this method was for grid subsets.
|
void |
parse(KXmlParser parser)
Parses this service ID
|
abstract void |
parse(KXmlParser parser,
List<WMTSTileMatrix> list)
Parses this service
|
void |
print() |
void |
setBBoxTileMatrixSet(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(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(String parentSupportedCRS)
parentSupportedCRS
- public String getSupportedCRS()
public void checkChangeAxis()
public void setBBoxTileMatrixSet(Rectangle2D bbox)
public Rectangle2D getBBoxTileMatrixSet()
WMTSTileMatrix
getBBoxTileMatrixSet
in interface WMTSTileMatrix
public abstract void parse(KXmlParser parser, List<WMTSTileMatrix> list) throws IOException, XmlPullParserException
parser
- content
- 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 IOException, XmlPullParserException
WMTSBaseStruct
parse
in class WMTSBaseStruct
IOException
XmlPullParserException
public double getWidthWCTile(boolean projected)
getWidthWCTile
in interface WMTSTileMatrix
public double getHeightWCTile(boolean projected)
getHeightWCTile
in interface WMTSTileMatrix
public List<WMTSTile> intersects(boolean projected, WMTSTileMatrixLimits tileMatrixLimits, Rectangle2D request, Rectangle2D extentLayer)
intersects
in interface WMTSTileMatrix
public List<WMTSTile> intersects(boolean projected, Rectangle2D request, Rectangle2D extentLayer)
intersects
in interface WMTSTileMatrix
public List<WMTSTile> contains(boolean projected, Point2D point, Rectangle2D extentLayer)
contains
in interface WMTSTileMatrix
public List<WMTSTile> contains(boolean projected, WMTSTileMatrixLimits tileMatrixLimits, Point2D point, Rectangle2D extentLayer)
contains
in interface WMTSTileMatrix
public void print()