public interface TiledRasterProvider
Modifier and Type | Method and Description |
---|---|
Extent |
getCoordsInLevel(java.awt.geom.Point2D viewCenter,
int level,
int w,
int h)
Calculates the extent of a zoom level using a center.
|
Extent |
getCoordsInTheNearestLevel(Extent extent,
int w,
int h)
Calculates the extent of a zoom level using other extent as a reference.
|
RasterProvider |
getInternalProvider()
Gets the internal provider used to feed the TileProvider
|
int |
getNearestLevel(double pixelSize)
Gets the nearest level to the selected pixel size
|
Tile |
getTile(SpiRasterQuery q)
Gets a tile
|
int[] |
getTileSize(int level)
Returns the tile size in pixels if this providers have tiles
|
int |
getZoomLevels()
Gets the number of zoom levels
|
void |
setTileServer(java.lang.Class<?> tileServer)
Sets the tile cache data server.
|
Extent getCoordsInTheNearestLevel(Extent extent, int w, int h)
level
- extent
- w
- h
- Extent getCoordsInLevel(java.awt.geom.Point2D viewCenter, int level, int w, int h)
viewCenter
- level
- w
- h
- int getZoomLevels()
int getNearestLevel(double pixelSize)
pixelSize
- Tile getTile(SpiRasterQuery q) throws TileGettingException
level
- Resolution leveltileCol
- Tile column in the resolution leveltileRow
- Tile row in the resolution levelbbox
- Bounding box of the tileTileGettingException
void setTileServer(java.lang.Class<?> tileServer) throws InitializeException
tileServer
- InitializeException
int[] getTileSize(int level)
RasterProvider getInternalProvider()