Package org.apache.sis.storage.tiling
Interface WritableTileMatrix
- All Superinterfaces:
- TileMatrix
A 
TileMatrix that can write and delete tiles.
 All methods in this interface expect non-null arguments.
- Since:
- 1.2
Defined in the sis-storage module
- 
Method SummaryModifier and TypeMethodDescriptionlongdeleteTiles(GridExtent indicesRanges) Deletes all existing tiles in the given region.voidwriteTiles(Stream<Tile> tiles) Writes a stream of tiles.Methods inherited from interface TileMatrixgetIdentifier, getResolution, getTile, getTiles, getTileStatus, getTilingScheme
- 
Method Details- 
writeTilesWrites a stream of tiles. The caller must ensure that all tiles are compatible with the tiling scheme of this tile matrix set. If a tile already exists, it will be overwritten.- Parameters:
- tiles- the tiles to write.
- Throws:
- ReadOnlyStorageException- if this tile matrix is not writable. It may be caused by insufficient credentials.
- IncompatibleResourceException- if a tile is not compatible with the tiling scheme of this tile matrix.
- DataStoreException- if writing the tiles failed for another reason.
 
- 
deleteTilesDeletes all existing tiles in the given region. After this method call, the status of all tiles in the given region becomeTileStatus.MISSING. Tiles that were already missing are silently ignored.- Parameters:
- indicesRanges- ranges of tile indices in all dimensions, or- nullfor all tiles.
- Returns:
- number of tiles deleted (i.e. not counting the tiles that were already missing).
- Throws:
- ReadOnlyStorageException- if this tile matrix is not writable. It may be caused by insufficient credentials.
- DataStoreException- if deleting the tile failed for another reason.
 
 
-