public interface CacheStruct
Modifier and Type | Method and Description |
---|---|
boolean |
compare(CacheStruct struct)
Compares two structures and returns true if they are equals
|
String |
getEPSG()
Gets the EPSG code
|
String |
getFileSize()
If the source is a file gets the size or 0 if is not a file
|
String |
getFileSuffix()
Gets the suffix which represents the image format
|
int |
getLayerHeightOfTileMatrixByLevel(int level)
Gets the number of rows in a specific level
|
int |
getLayerInitXTilePositionByLevel(int level)
Gets the starting X position of the layer
|
int |
getLayerInitYTilePositionByLevel(int level)
Gets the starting Y position of the layer
|
String |
getLayerName()
Gets the layer name
|
int |
getLayerWidthOfTileMatrixByLevel(int level)
Gets the number of columns in a specific level
|
int |
getNumberOfLevels()
Gets the number of resolution levels
|
double |
getPixelSizeByLevel(int level)
Gets the pixel size of a level
|
String |
getServerURL()
Gets the server URL
|
Point2D[] |
getTileExtent(int level,
int col,
int row)
Get the extent of an matrix element in a specific level
|
Point2D[] |
getTileExtent(Tile tile)
Gets the extent of a tile
|
List<Tile> |
getTileList(Point2D ul,
Point2D lr,
double mtsPixelRequest)
Gets the list of tiles inside of selected area
|
List<Tile> |
getTileList(Rectangle2D r)
Gets the list of tiles inside of selected area in pixels.
|
int[] |
getTileSizeByLevel(int level)
Gets the tile size
|
double[] |
getTileSizeInRealCoordsByLevel(int level)
Gets the tile size by level in world coordinates
|
Tile |
getTileStructure(int level,
int tileCol,
int tileRow,
Point2D ul,
Point2D lr)
Builds a tile structure with all parameters that this kind of service needs.
|
long |
getWorldHeightOfTileMatrixByLevel(int level)
Gets the number of rows in a specific level
|
long |
getWorldWidthOfTileMatrixByLevel(int level)
Gets the number of columns in a specific level
|
static final int GEOGRAFIC
static final int FLAT
int getNumberOfLevels()
long getWorldWidthOfTileMatrixByLevel(int level)
level
- long getWorldHeightOfTileMatrixByLevel(int level)
level
- int getLayerWidthOfTileMatrixByLevel(int level)
level
- int getLayerHeightOfTileMatrixByLevel(int level)
level
- int getLayerInitXTilePositionByLevel(int level)
level
- int getLayerInitYTilePositionByLevel(int level)
level
- int[] getTileSizeByLevel(int level)
level
- double[] getTileSizeInRealCoordsByLevel(int level)
level
- double getPixelSizeByLevel(int level)
level
- Point2D[] getTileExtent(Tile tile)
level
- x
- y
- Point2D[] getTileExtent(int level, int col, int row)
level
- col
- row
- Tile getTileStructure(int level, int tileCol, int tileRow, Point2D ul, Point2D lr) throws TileBuildException
level
- tileCol
- tileRow
- TileBuildException
List<Tile> getTileList(Rectangle2D r)
r
- List<Tile> getTileList(Point2D ul, Point2D lr, double mtsPixelRequest) throws TileBuildException
ul
- lr
- mtsPixelRequest
- TileBuildException
String getLayerName()
String getServerURL()
String getFileSuffix()
String getEPSG()
String getFileSize()
boolean compare(CacheStruct struct)
struct
-