public class StandardMargin
extends com.supermap.data.InternalHandleDisposable
构造器和说明 |
---|
StandardMargin()
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
Size2D |
calcSheetSize(double Scale)
根据比例尺分母获取标准分幅的范围
|
void |
createStandardMargin(Datasource datasource,
String strNumber,
String name,
String datasetName)
根据军用图幅号创建标准图幅图框数据集
|
void |
dispose()
释放对象
|
DatasetVector |
generateSheetDataset(Rectangle2D bounds,
double dScale,
Datasource datasource)
生成图幅列表数据集
|
Map<Rectangle2D,Double> |
getSheetBounds(String strTopSheetNumber)
获取顶端图幅号(N-图幅号)对应的范围和比例尺
|
String |
getSheetNumber(Rectangle2D bounds,
double Scale,
boolean bTop)
根据图幅范围和比例尺获取图幅号
|
PrjCoordSys |
getSheetPrjCoordSys(Rectangle2D bounds,
double Scale)
根据图幅范围和比例尺,获取对应的图幅坐标系
|
String |
normalizeSheetNumber(String strSheetNumber)
任意格式的图幅号转顶端图幅号
|
String |
sheetNumberToTopSheetNumber(String strSheetNumber)
图幅号(北半球纯数字,南半球S+纯数字)转顶端图幅号(N-图幅号)
|
String |
topSheetNumberToImageSheetFileName(String strTopSheetNumber)
顶端图幅号转影像图幅号文件名。
|
String |
topSheetNumberToSheetNumber(String strTopSheetNumber)
顶端图幅号(N-图幅号)转图幅号(北半球纯数字,南半球S+纯数字)
|
public void dispose()
public void createStandardMargin(Datasource datasource, String strNumber, String name, String datasetName)
datasource
- 数据源strNumber
- 图幅名name
- 图框名datasetName
- 数据集public DatasetVector generateSheetDataset(Rectangle2D bounds, double dScale, Datasource datasource)
bounds
- 指定生成图幅列表的范围dScale
- 比例尺datasource
- 数据源public String sheetNumberToTopSheetNumber(String strSheetNumber)
strSheetNumber
- 图幅号public String topSheetNumberToSheetNumber(String strTopSheetNumber)
strTopSheetNumber
- 顶端图幅号public String normalizeSheetNumber(String strSheetNumber)
strSheetNumber
- 图幅号public String topSheetNumberToImageSheetFileName(String strTopSheetNumber)
strTopSheetNumber
- 顶端图幅号public Map<Rectangle2D,Double> getSheetBounds(String strTopSheetNumber)
strTopSheetNumber
- 顶端图幅号public String getSheetNumber(Rectangle2D bounds, double Scale, boolean bTop)
bounds
- 图幅范围Scale
- 比例尺bTop
- 是否顶端public PrjCoordSys getSheetPrjCoordSys(Rectangle2D bounds, double Scale)
bounds
- 图幅范围Scale
- 比例尺public Size2D calcSheetSize(double Scale)
Scale
- 比例尺Copyright © 2021–2024 SuperMap. All rights reserved.