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,
java.lang.Object aContext)
Adds a tile to the tileset.
|
void |
addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage)
Adds a coverage to the tileset.
|
void |
addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage,
java.lang.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,
java.lang.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 java.io.IOException
java.io.IOException
- if the commit failsvoid addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage) throws java.io.IOException
aCoverage
- the coverage to be added to the tilesetjava.io.IOException
- if the coverage cannot be addedvoid addTileSetCoverage(ILcdEarthTileSetCoverage aCoverage, java.lang.String aTargetName, ILcdGeoReference aTargetReference) throws java.io.IOException
aCoverage
- the coverage to be added to the tilesetaTargetName
- the name of the new coverageaTargetReference
- the georeference into which the coverage should be encodedjava.io.IOException
- if the coverage cannot be addedvoid removeTileSetCoverage(ILcdEarthTileSetCoverage aCoverage) throws java.io.IOException
aCoverage
- the coverage to be removedjava.io.IOException
- if the coverage cannot be removedjava.lang.UnsupportedOperationException
- if the operation is not supportedvoid addTile(ALcdEarthTile aEarthTile, java.lang.Object aContext) throws java.io.IOException
aEarthTile
- the tile to be added to the tilesetaContext
- application-specific data to be used by the tileset, if anyjava.io.IOException
- if the tile cannot be added to the tilesetvoid removeTile(ALcdEarthTile aTile, java.lang.Object aContext) throws java.io.IOException
aTile
- the tile to be removedaContext
- application-specific data to be used by the tileset, if anyjava.io.IOException
- if the tile cannot be removedjava.lang.UnsupportedOperationException
- if the operation is not supported