public interface TileSource
TileSource
interface is for reading individual rectangles
of data from a data source. Tiles can be read synchronously using the
readTile(noaa.coastwatch.io.tile.TilingScheme.TilePosition)
method or asynchronously using a
TileDeliveryOperation
object.Modifier and Type | Method and Description |
---|---|
TilingScheme |
getScheme()
Gets the tiling scheme used to deliver tiles by this source.
|
TilingScheme.Tile |
readTile(TilingScheme.TilePosition pos)
Reads the specified tile from the source.
|
TilingScheme.Tile readTile(TilingScheme.TilePosition pos) throws java.io.IOException
pos
- the tile position to read.java.io.IOException
- if an error occurred reading the tile data.java.lang.IllegalArgumentException
- if the position tiling scheme does not
match this source.getScheme()
TilingScheme getScheme()