com.supermap.services.tilesource
类 MetaData
- java.lang.Object
-
- com.supermap.services.tilesource.MetaData
-
public abstract class MetaData extends java.lang.Object
描述地图切片元数据信息的类
-
-
字段概要
字段 限定符和类型 字段和说明 Rectangle2D
bounds
java.lang.String
mapName
地图名。Point2D
originalPoint
PrjCoordSys
prjCoordSys
double[]
resolutions
java.util.Map<java.lang.Double,java.lang.String>
scaleCaptionsMap
double[]
scaleDenominators
int
tileHeight
java.lang.String
tileRuleVersion
java.lang.String
tilesetName
int
tileWidth
-
方法概要
方法 限定符和类型 方法和说明 MetaData
appendMetaData(double[] toAppendDenominators, double[] toAppendResolutions, Rectangle2D toAppendBounds)
向源信息中追加比例尺、分辨率以及范围abstract MetaData
copy()
boolean
equals(java.lang.Object obj)
double
findResolutionByScaleDenominator(double scaleDenominator)
double
findScaleDenominatorByResolution(double resolution)
TileMatrix
getTileMatrix(double resolution, Rectangle2D bounds)
abstract java.lang.String
getTilesetId()
TileType
getTileType()
int
hashCode()
boolean
isCompatible(MetaData other)
判断给定元信息是否与当前元信息兼容。void
setTileType(TileType tileType)
Tile
tile(Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)
-
-
-
字段详细资料
-
mapName
public java.lang.String mapName
地图名。若是三维相关切片集,该属性含义是场景名或图层名。
-
tileWidth
public int tileWidth
-
tileHeight
public int tileHeight
-
resolutions
public double[] resolutions
-
scaleDenominators
public double[] scaleDenominators
-
originalPoint
public Point2D originalPoint
-
prjCoordSys
public PrjCoordSys prjCoordSys
-
bounds
public Rectangle2D bounds
-
tileRuleVersion
public java.lang.String tileRuleVersion
-
scaleCaptionsMap
public java.util.Map<java.lang.Double,java.lang.String> scaleCaptionsMap
-
tilesetName
public java.lang.String tilesetName
-
-
构造器详细资料
-
MetaData
public MetaData()
-
MetaData
public MetaData(MetaData metaData)
-
-
方法详细资料
-
getTilesetId
public abstract java.lang.String getTilesetId()
-
copy
public abstract MetaData copy()
-
isCompatible
public boolean isCompatible(MetaData other)
判断给定元信息是否与当前元信息兼容。 如果兼容,可以将给定源信息追加到当前元信息。- 参数:
metaData
-- 返回:
-
tile
public Tile tile(Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)
-
findScaleDenominatorByResolution
public double findScaleDenominatorByResolution(double resolution)
-
findResolutionByScaleDenominator
public double findResolutionByScaleDenominator(double scaleDenominator)
-
getTileMatrix
public TileMatrix getTileMatrix(double resolution, Rectangle2D bounds)
-
getTileType
public TileType getTileType()
-
setTileType
public void setTileType(TileType tileType)
-
appendMetaData
public MetaData appendMetaData(double[] toAppendDenominators, double[] toAppendResolutions, Rectangle2D toAppendBounds)
向源信息中追加比例尺、分辨率以及范围
- 参数:
toAppendDenominators
-toAppendResolutions
-toAppendBounds
-- 返回:
-
equals
public boolean equals(java.lang.Object obj)
- 覆盖:
equals
在类中java.lang.Object
-
hashCode
public int hashCode()
- 覆盖:
hashCode
在类中java.lang.Object
-
-