public interface ILcdEarthEditableTileSet extends ILcdEarthTileSet
ILcdEarthTileSet
which represents its tiles
as a collection that can be both queried and edited. Typical implementations
are expected to write tiles to disk, as tilesets will routinely grow too
large to keep in memory. Hence, ILcdEarthEditableTileSet
is
also the basic mechanism to provide persistence for an
ILcdEarthTileSet
.Modifier and Type | Method and Description |
---|---|
void |
addTile(ALcdEarthTile aEarthTile,
Object aContext)
Adds a tile to the tileset.
|
void |
addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage)
Adds a coverage to the tileset.
|
void |
addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage,
String aTargetName,
ILcdGeoReference aTargetReference)
Adds a coverage to the tileset, overriding the coverage's native georeference
and name.
|
void |
commit()
Flushes any pending changes to the tileset.
|
void |
removeTile(ALcdEarthTile aTile,
Object aContext)
Removes the specified tile from the tileset.
|
void |
removeTileSetCoverage(ILcdEarthTileSetCoverage aCoverage)
Removes the specified coverage from the tileset.
|
cancelTile, containsTile, containsTileSetCoverage, dispose, getBounds, getLevelCount, getTileColumnCount, getTileRowCount, getTileSetCoverage, getTileSetCoverage, getTileSetCoverageCount, isFormatSupported, isGeoReferenceSupported, produceTile, produceTile, updateTile, updateTile
close
void commit() throws IOException
IOException
- if the commit failsvoid addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage) throws IOException
aCoverage
- the coverage to be added to the tilesetIOException
- if the coverage cannot be addedvoid addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage, String aTargetName, ILcdGeoReference aTargetReference) throws IOException
aCoverage
- the coverage to be added to the tilesetaTargetName
- the name of the new coverageaTargetReference
- the georeference into which the coverage should be encodedIOException
- if the coverage cannot be addedvoid removeTileSetCoverage(ILcdEarthTileSetCoverage aCoverage) throws IOException
aCoverage
- the coverage to be removedIOException
- if the coverage cannot be removedUnsupportedOperationException
- if the operation is not supportedvoid addTile(ALcdEarthTile aEarthTile, Object aContext) throws IOException
aEarthTile
- the tile to be added to the tilesetaContext
- application-specific data to be used by the tileset, if anyIOException
- if the tile cannot be added to the tilesetvoid removeTile(ALcdEarthTile aTile, Object aContext) throws IOException
aTile
- the tile to be removedaContext
- application-specific data to be used by the tileset, if anyIOException
- if the tile cannot be removedUnsupportedOperationException
- if the operation is not supported