public interface Tileset<T extends MetaData,V extends >
The slice set. Contains meta information of slices and lots of slices
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LATESTVERSIONNAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
append(double[] toAppendScales, double[] toAppendResolutions, Rectangle2D toAppendBounds, java.lang.String tileVersion)
Specify the slice version for the current slice set to add a scale, a resolution array, and a slice range.
|
void |
clear(Rectangle2D bounds)
Clears the slices within the specified range
|
void |
close()
Close the slice set
|
TileVersion |
createTileVersion(java.lang.String desc, java.lang.String parent, VersionUpdate update)
Creates a new tile version.
|
void |
delete(java.util.List<Tile> tiles)
Clears the specified slice set
|
void |
deleteAll()
Removes all slices
|
boolean |
exists(Tile tile)
Determines if the specified slice is present
|
double |
findResolutionByScaleDenominator(double scaleDenominator)
Obtains its corresponding resolution according to the scale denominator.
|
V |
get(Tile tile)
Gets specified slice information
|
T |
getMetaData()
Returns meta information
|
java.lang.String |
getName()
Slice set name, naming convention {type name} _tileset_ {gettileId via MetaData get}
|
TilesetDesc |
getTilesetDesc()
Gets the result dataset information
|
java.util.List<TileVersion> |
getVersions()
Returns all slice version information.
|
void |
put(V tileInfo)
Adds or modifies a slice
|
static final java.lang.String LATESTVERSIONNAME
T getMetaData()
Returns meta information
java.util.List<TileVersion> getVersions()
Returns all slice version information.
TileVersion createTileVersion(java.lang.String desc, java.lang.String parent, VersionUpdate update)
Creates a new tile version.
desc - description informationparent - parent version number, if empty, parent version is the last updated versionupdate - update informationvoid put(V tileInfo) throws PutTileFailedException
Adds or modifies a slice
tile - slice informationPutTileFailedExceptionV get(Tile tile)
Gets specified slice information
tile - slice descriptionvoid deleteAll()
Removes all slices
void delete(java.util.List<Tile> tiles)
Clears the specified slice set
tiles - The set of slices to be clearedboolean exists(Tile tile)
Determines if the specified slice is present
tile - The slice to be judgedvoid close()
Close the slice set
java.lang.String getName()
Slice set name, naming convention {type name} _tileset_ {gettileId via MetaData get}
boolean append(double[] toAppendScales,
double[] toAppendResolutions,
Rectangle2D toAppendBounds,
java.lang.String tileVersion)
toAppendScales - Scale denominator array.toAppendResolutions -toAppendBounds - If empty, indicates that the scale or range is added under the current slice set.void clear(Rectangle2D bounds)
Clears the slices within the specified range
bounds - The range of slices to be clearedTilesetDesc getTilesetDesc()
Gets the result dataset information
double findResolutionByScaleDenominator(double scaleDenominator)
Obtains its corresponding resolution according to the scale denominator.