com.supermap.services.tilesource
类 ImageMetaData
- java.lang.Object
-
- com.supermap.services.tilesource.MetaData
-
- com.supermap.services.tilesource.MapMetaData
-
- com.supermap.services.tilesource.ImageMetaData
-
- 直接已知子类:
- GDPMetaData, MVTTileMetaData, SMTilesMetaData, UGCV5MetaData
public class ImageMetaData extends MapMetaData
-
-
字段概要
字段 限定符和类型 字段和说明 OutputFormat
tileFormat
boolean
transparent
-
从类继承的字段 com.supermap.services.tilesource.MapMetaData
mapParameter, mapStatusHashCode
-
从类继承的字段 com.supermap.services.tilesource.MetaData
bounds, mapName, originalPoint, prjCoordSys, resolutions, scaleCaptionsMap, scaleDenominators, tileHeight, tileRuleVersion, tilesetName, tileWidth
-
-
构造器概要
构造器 构造器和说明 ImageMetaData()
ImageMetaData(ImageMetaData metaData)
-
方法概要
方法 限定符和类型 方法和说明 ImageMetaData
bounds(Rectangle2D bounds)
ImageMetaData
copy()
boolean
equals(java.lang.Object obj)
比较当前对象MetaData
否和传入对象一样static ImageMetaData
from(MapParameter mapParam, ImageOutputOption outputOption)
反推出切片元信息,用于定位或创建切片集java.lang.String
getTilesetId()
TileType
getTileType()
int
hashCode()
获取本对象MetaData
的哈希码值boolean
isCompatible(MetaData other)
判断给定元信息是否与当前元信息兼容。ImageMetaData
mapName(java.lang.String mapName)
ImageMetaData
mapStatusHashCode(java.lang.String mapStatusHashCode)
ImageMetaData
resolutions(double[] resolutions)
ImageMetaData
scaleDenominators(double[] scaleDenominators)
void
setTileType(TileType tileType)
Tile
tile(Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)
ImageMetaData
tileFormat(OutputFormat tileFormat)
ImageMetaData
tileHeight(int tileHeight)
ImageMetaData
tileWidth(int tileWidth)
ImageMetaData
transparent(boolean transparent)
-
从类继承的方法 com.supermap.services.tilesource.MapMetaData
getDpi, isDPICompatiable, toMapParameter
-
从类继承的方法 com.supermap.services.tilesource.MetaData
appendMetaData, findResolutionByScaleDenominator, findScaleDenominatorByResolution, getTileMatrix
-
-
-
-
字段详细资料
-
tileFormat
public OutputFormat tileFormat
-
transparent
public boolean transparent
-
-
构造器详细资料
-
ImageMetaData
public ImageMetaData()
-
ImageMetaData
public ImageMetaData(ImageMetaData metaData)
-
-
方法详细资料
-
mapName
public ImageMetaData mapName(java.lang.String mapName)
-
tileWidth
public ImageMetaData tileWidth(int tileWidth)
-
tileHeight
public ImageMetaData tileHeight(int tileHeight)
-
tileFormat
public ImageMetaData tileFormat(OutputFormat tileFormat)
-
transparent
public ImageMetaData transparent(boolean transparent)
-
resolutions
public ImageMetaData resolutions(double[] resolutions)
-
scaleDenominators
public ImageMetaData scaleDenominators(double[] scaleDenominators)
-
bounds
public ImageMetaData bounds(Rectangle2D bounds)
-
mapStatusHashCode
public ImageMetaData mapStatusHashCode(java.lang.String mapStatusHashCode)
-
hashCode
public int hashCode()
获取本对象
MetaData
的哈希码值- 覆盖:
hashCode
在类中MapMetaData
-
equals
public boolean equals(java.lang.Object obj)
比较当前对象
MetaData
否和传入对象一样- 覆盖:
equals
在类中MapMetaData
- 参数:
obj
- 待比较对象
-
getTilesetId
public java.lang.String getTilesetId()
- 指定者:
getTilesetId
在类中MetaData
-
from
public static ImageMetaData from(MapParameter mapParam, ImageOutputOption outputOption)
反推出切片元信息,用于定位或创建切片集- 参数:
mapParam
-outputOption
-- 返回:
-
copy
public ImageMetaData copy()
-
getTileType
public TileType getTileType()
- 覆盖:
getTileType
在类中MetaData
-
setTileType
public void setTileType(TileType tileType)
- 覆盖:
setTileType
在类中MetaData
-
isCompatible
public boolean isCompatible(MetaData other)
判断给定元信息是否与当前元信息兼容。 如果兼容,可以将给定源信息追加到当前元信息。- 覆盖:
isCompatible
在类中MetaData
- 参数:
metaData
-- 返回:
-
tile
public Tile tile(Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)
-
-