public abstract class AbstractImageTileset extends java.lang.Object implements ImageTileset
Abstract picture type slice set
LATESTVERSIONNAME
Constructor and Description |
---|
AbstractImageTileset() |
Modifier and Type | Method and Description |
---|---|
boolean |
append(double[] toAppendScales, double[] toAppendResolutions, Rectangle2D toAppendBounds, java.lang.String tileVersionName)
Additional scale level, resolution level, 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
|
protected abstract boolean |
doUpdateMetaData(ImageMetaData metaData, TileVersionList tileVersions)
Updates Meta Information and Slice Version List
|
boolean |
exists(Tile tile)
Determines if the specified slice is present
|
double |
findResolutionByScaleDenominator(double scaleDenominator)
Obtains its corresponding resolution according to the scale denominator.
|
ImageMetaData |
getMetaData()
Returns meta information
|
TilesetDesc |
getTilesetDesc()
Gets the results of the cut map information, because there is no need to sqlite other than the cache released into a service so it temporarily not achieves.
|
TileVersionList |
getTileVersions()
Gets the slice version list
|
java.util.List<TileVersion> |
getVersions()
Returns all slice version information.
|
void |
setMetaData(ImageMetaData metaData)
Sets meta information
|
void |
setTileVersions(TileVersionList tileVersions)
Sets the slice version list
|
protected boolean |
tileVersionSupported() |
public void setMetaData(ImageMetaData metaData)
Sets meta information
metaData
-public void setTileVersions(TileVersionList tileVersions)
Sets the slice version list
tileVersions
-public ImageMetaData getMetaData()
Tileset
Returns meta information
getMetaData
in interface Tileset<ImageMetaData,ImageTileInfo>
public TileVersionList getTileVersions()
Gets the slice version list
public java.util.List<TileVersion> getVersions()
Tileset
Returns all slice version information.
getVersions
in interface Tileset<ImageMetaData,ImageTileInfo>
public boolean exists(Tile tile)
Tileset
Determines if the specified slice is present
public boolean append(double[] toAppendScales, double[] toAppendResolutions, Rectangle2D toAppendBounds, java.lang.String tileVersionName)
public TileVersion createTileVersion(java.lang.String desc, java.lang.String parent, VersionUpdate update)
Tileset
Creates a new tile version.
createTileVersion
in interface Tileset<ImageMetaData,ImageTileInfo>
desc
- description informationparent
- parent version number, if empty, parent version is the last updated versionupdate
- update informationprotected abstract boolean doUpdateMetaData(ImageMetaData metaData, TileVersionList tileVersions)
Updates Meta Information and Slice Version List
metaData
- Meta information to be updated, and if it is null, it means not updating meta informationtileVersions
- to be updated version of the list of sections, and if it is null, it is means that they did not update the version list slicedpublic void deleteAll()
Tileset
Removes all slices
public void delete(java.util.List<Tile> tiles)
Tileset
Clears the specified slice set
public void clear(Rectangle2D bounds)
Tileset
Clears the slices within the specified range
public void close()
Tileset
Close the slice set
protected boolean tileVersionSupported()
public TilesetDesc getTilesetDesc()
getTilesetDesc
in interface Tileset<ImageMetaData,ImageTileInfo>
public double findResolutionByScaleDenominator(double scaleDenominator)
Tileset
Obtains its corresponding resolution according to the scale denominator.
findResolutionByScaleDenominator
in interface Tileset<ImageMetaData,ImageTileInfo>