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) |
public java.lang.String mapName
若是三维相关切片集,该属性含义是场景名或图层名。
public int tileWidth
public int tileHeight
public double[] resolutions
public double[] scaleDenominators
public Point2D originalPoint
public PrjCoordSys prjCoordSys
public Rectangle2D bounds
public java.lang.String tileRuleVersion
public java.util.Map<java.lang.Double,java.lang.String> scaleCaptionsMap
public java.lang.String tilesetName
public MetaData()
public MetaData(MetaData metaData)
public abstract java.lang.String getTilesetId()
public abstract MetaData copy()
public boolean isCompatible(MetaData other)
metaData
-public Tile tile(Rectangle2D viewBounds, Rectangle viewer, java.lang.String tileversion)
public double findScaleDenominatorByResolution(double resolution)
public double findResolutionByScaleDenominator(double scaleDenominator)
public TileMatrix getTileMatrix(double resolution, Rectangle2D bounds)
public TileType getTileType()
public void setTileType(TileType tileType)
public MetaData appendMetaData(double[] toAppendDenominators, double[] toAppendResolutions, Rectangle2D toAppendBounds)
向源信息中追加比例尺、分辨率以及范围
toAppendDenominators
-toAppendResolutions
-toAppendBounds
-public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object