com.supermap.services.tilesource
接口 UGCCacheWriter
-
- 所有超级接口:
- Disposable
public interface UGCCacheWriter extends Disposable
-
-
嵌套类概要
嵌套类 限定符和类型 接口和说明 static class
UGCCacheWriter.TerrainInfo
-
方法概要
方法 限定符和类型 方法和说明 boolean
checkTileSizeAvailable(int tileWidth)
java.lang.Boolean
fromConfigFile(java.lang.String fileName)
Rectangle2D
getCacheBounds()
java.lang.String
getCacheName()
java.util.Map<java.lang.Double,java.lang.String>
getCacheScaleCaptions()
DataOperator
getDataOperator()
double
getDPI()
java.lang.String
getHashCode()
Rectangle2D
getIndexBounds()
java.lang.String
getOutputFolder()
PrjCoordSys
getPrjCoordSys()
StorageType
getStorageType()
OutputFormat
getTileFormat()
byte[]
getTileFromCompactFile(java.io.File compactFile, java.lang.String password, int x, int y)
java.lang.String
getTilePath(java.lang.Double scale, int row, int col)
int
getTileSize()
java.lang.Boolean
getTransparent()
java.lang.Boolean
infIsValid(java.lang.String infPath)
void
setCacheBounds(Rectangle2D bounds)
void
setCacheName(java.lang.String name)
void
setCacheScaleCaptions(java.lang.Double[] scales)
void
setCacheScaleCaptions(java.util.HashMap<java.lang.Double,java.lang.String> newScaleCaptions)
void
setDataOperator(DataOperator dataOperator)
void
setDPI(double dpi)
void
setHashCode(java.lang.String hashCode)
void
setIndexBounds(Rectangle2D rectangle2d)
void
setOutputFolder(java.lang.String folder)
void
setPrjCoordSys(PrjCoordSys projCoordSys)
void
setStorageType(StorageType storageType)
void
setTileFormat(OutputFormat tileFormat)
void
setTileSize(int tileSize)
void
setTransparent(java.lang.Boolean transparent)
void
terrainInfo(UGCCacheWriter.TerrainInfo terrainInfo)
java.lang.String
toConfigFile()
把当前配置信息导出成配置文件,并返回配置文件内容。java.lang.Boolean
toConfigFile(java.lang.String fileName)
void
userExtendFields(java.util.Map<java.lang.String,java.lang.String> userExtendFields)
void
writeTileToCompactFile(Tile tile, byte[] tileData)
-
从接口继承的方法 com.supermap.services.components.spi.Disposable
dispose
-
-
-
-
方法详细资料
-
getCacheName
java.lang.String getCacheName()
-
setCacheName
void setCacheName(java.lang.String name)
-
getTileFormat
OutputFormat getTileFormat()
-
setTileFormat
void setTileFormat(OutputFormat tileFormat)
-
getTileSize
int getTileSize()
-
setTileSize
void setTileSize(int tileSize)
-
getHashCode
java.lang.String getHashCode()
-
setHashCode
void setHashCode(java.lang.String hashCode)
-
getCacheScaleCaptions
java.util.Map<java.lang.Double,java.lang.String> getCacheScaleCaptions()
-
setCacheScaleCaptions
void setCacheScaleCaptions(java.lang.Double[] scales)
-
setCacheScaleCaptions
void setCacheScaleCaptions(java.util.HashMap<java.lang.Double,java.lang.String> newScaleCaptions)
-
getPrjCoordSys
PrjCoordSys getPrjCoordSys()
-
setPrjCoordSys
void setPrjCoordSys(PrjCoordSys projCoordSys)
-
setDPI
void setDPI(double dpi)
-
getDPI
double getDPI()
-
setStorageType
void setStorageType(StorageType storageType)
-
getStorageType
StorageType getStorageType()
-
getCacheBounds
Rectangle2D getCacheBounds()
-
setCacheBounds
void setCacheBounds(Rectangle2D bounds)
-
getIndexBounds
Rectangle2D getIndexBounds()
-
getOutputFolder
java.lang.String getOutputFolder()
-
setOutputFolder
void setOutputFolder(java.lang.String folder)
-
getTransparent
java.lang.Boolean getTransparent()
-
setTransparent
void setTransparent(java.lang.Boolean transparent)
-
getTilePath
java.lang.String getTilePath(java.lang.Double scale, int row, int col)
-
toConfigFile
java.lang.Boolean toConfigFile(java.lang.String fileName) throws java.lang.Exception
- 抛出:
java.lang.Exception
-
fromConfigFile
java.lang.Boolean fromConfigFile(java.lang.String fileName)
-
infIsValid
java.lang.Boolean infIsValid(java.lang.String infPath)
-
setIndexBounds
void setIndexBounds(Rectangle2D rectangle2d)
-
checkTileSizeAvailable
boolean checkTileSizeAvailable(int tileWidth)
-
toConfigFile
java.lang.String toConfigFile()
把当前配置信息导出成配置文件,并返回配置文件内容。- 返回:
-
terrainInfo
void terrainInfo(UGCCacheWriter.TerrainInfo terrainInfo)
-
userExtendFields
void userExtendFields(java.util.Map<java.lang.String,java.lang.String> userExtendFields)
-
getTileFromCompactFile
byte[] getTileFromCompactFile(java.io.File compactFile, java.lang.String password, int x, int y)
-
writeTileToCompactFile
void writeTileToCompactFile(Tile tile, byte[] tileData)
-
setDataOperator
void setDataOperator(DataOperator dataOperator)
-
getDataOperator
DataOperator getDataOperator()
-
-