Methods
(async, static) clone() → {Promise.<SRefData>}
克隆空间参考系对象
- Source:
Returns:
- Type
- Promise.<SRefData>
(async, static) createObj() → {Promise.<SRefData>}
构造一个新的SRefData对象。
- Source:
Returns:
- Type
- Promise.<SRefData>
(async, static) getA() → {double}
获取地球椭球长轴
- Source:
Returns:
- Type
- double
(async, static) getAbbreviation() → {String}
获取缩写
- Source:
Returns:
- Type
- String
(async, static) getAf() → {double}
获取地球椭球扁率
- Source:
Returns:
- Type
- double
(async, static) getAlias() → {String}
获取别名
- Source:
Returns:
- Type
- String
(async, static) getAngUnit() → {int}
获取空间数据水平坐标单位:角度
- Source:
Returns:
- Type
- int
(async, static) getAngUnitFactor() → {double}
获取弧度/unit
- Source:
Returns:
- Type
- double
(async, static) getAxisMax0() → {double}
获取0轴最大值
- Source:
Returns:
- Type
- double
(async, static) getAxisMax1() → {double}
获取1轴最大值
- Source:
Returns:
- Type
- double
(async, static) getAxisMax2() → {double}
获取2轴最大值
- Source:
Returns:
- Type
- double
(async, static) getAxisMax3() → {double}
获取3轴最大值
- Source:
Returns:
- Type
- double
(async, static) getAxisMin0() → {double}
获取0轴最小值
- Source:
Returns:
- Type
- double
(async, static) getAxisMin1() → {double}
获取1轴最小值
- Source:
Returns:
- Type
- double
(async, static) getAxisMin2() → {double}
获取2轴最小值
- Source:
Returns:
- Type
- double
(async, static) getAxisMin3() → {double}
获取3轴最小值
- Source:
Returns:
- Type
- double
(async, static) getAxisName0() → {String}
获取0轴名
- Source:
Returns:
- Type
- String
(async, static) getAxisName1() → {String}
获取1轴名
- Source:
Returns:
- Type
- String
(async, static) getAxisName2() → {String}
获取2轴名
- Source:
Returns:
- Type
- String
(async, static) getAxisName3() → {String}
获取3轴名
- Source:
Returns:
- Type
- String
(async, static) getAxisUnit0() → {int}
获取0轴单位
- Source:
Returns:
- Type
- int
(async, static) getAxisUnit1() → {int}
获取1轴单位
- Source:
Returns:
- Type
- int
(async, static) getAxisUnit2() → {int}
获取2轴单位
- Source:
Returns:
- Type
- int
(async, static) getAxisUnit3() → {int}
获取3轴单位
- Source:
Returns:
- Type
- int
(async, static) getB() → {double}
获取地球椭球短轴
- Source:
Returns:
- Type
- double
(async, static) getDimension() → {int}
获取数据维数
- Source:
Returns:
- Type
- int
(async, static) getFalseE() → {double}
获取投影东偏
- Source:
Returns:
- Type
- double
(async, static) getFalseN() → {double}
获取投影北偏
- Source:
Returns:
- Type
- double
(async, static) getGCSName() → {String}
获取地理坐标系名称
- Source:
Returns:
- Type
- String
(async, static) getGeoCode() → {String}
获取几何码
- Source:
Returns:
- Type
- String
(async, static) getH() → {double}
获取空间数据投影平面与大地水准面的高差
- Source:
Returns:
- Type
- double
(async, static) getLat() → {double}
获取空间数据投影原点纬度
- Source:
Returns:
- Type
- double
(async, static) getLat1() → {double}
获取空间数据双纬线1 纬度
- Source:
Returns:
- Type
- double
(async, static) getLat2() → {double}
获取空间数据双纬线2 纬度
- Source:
Returns:
- Type
- double
(async, static) getLevelName() → {String}
获取空间数据大地水准面名称
- Source:
Returns:
- Type
- String
(async, static) getLevelOffset() → {double}
获取当前高程的偏移量
- Source:
Returns:
- Type
- double
(async, static) getLevelType() → {int}
获取空间数据大地水准面类型
- Source:
Returns:
- Type
- int
(async, static) getLon() → {double}
获取空间数据中央经线经度
- Source:
Returns:
- Type
- double
(async, static) getLon1() → {double}
获取空间数据双经线1 经度
- Source:
Returns:
- Type
- double
(async, static) getLon2() → {double}
获取空间数据双经线2经度
- Source:
Returns:
- Type
- double
(async, static) getN() → {double}
获取空间数据大地水准面与参考椭球面之间的高差
- Source:
Returns:
- Type
- double
(async, static) getPMName() → {String}
获取本初子午线(Prime Meridian)名称
- Source:
Returns:
- Type
- String
(async, static) getPMOffset() → {double}
获取本初子午线与国标偏移量(DMS)
- Source:
Returns:
- Type
- double
(async, static) getPrecision0() → {double}
获取0轴精度
- Source:
Returns:
- Type
- double
(async, static) getPrecision1() → {double}
获取1轴精度
- Source:
Returns:
- Type
- double
(async, static) getPrecision2() → {double}
获取2轴精度
- Source:
Returns:
- Type
- double
(async, static) getPrecision3() → {double}
获取3轴精度
- Source:
Returns:
- Type
- double
(async, static) getProjName() → {String}
获取投影名
- Source:
Returns:
- Type
- String
(async, static) getProjTypeID() → {int}
获取空间数据投影类型索引
- Source:
Returns:
- Type
- int
(async, static) getRate() → {double}
获取空间数据水平比例尺倒数
- Source:
Returns:
- Type
- double
(async, static) getRemark() → {String}
获取备注
- Source:
Returns:
- Type
- String
(async, static) getSpheroid() → {int}
获取椭球体索引
- Source:
Returns:
- Type
- int
(async, static) getSRSID() → {Promise.<*>}
获取空间坐标系在地理数据库中的唯一标识
- Source:
Returns:
- Type
- Promise.<*>
(async, static) getSRSName()
获取名称
- Source:
(async, static) getType() → {int}
获取类型
- Source:
Returns:
- Type
- int
(async, static) getUnit() → {int}
获取空间数据水平坐标单位:长度
- Source:
Returns:
- Type
- int
(async, static) getUnitFactor() → {double}
获取米/unit
- Source:
Returns:
- Type
- double
(async, static) getVerticalDatumType() → {int}
获取垂直数据类型
- Source:
Returns:
- Type
- int
(async, static) getVRate() → {double}
获取空间数据垂向比例尺倒数
- Source:
Returns:
- Type
- double
(async, static) getVUnit() → {int}
获取空间数据垂向数据单位
- Source:
Returns:
- Type
- int
(async, static) getWebMercator() → {Promise.<SRefData>}
获取Web墨卡托空间参考
- Source:
Returns:
- Type
- Promise.<SRefData>
(async, static) getWGS84() → {Promise.<SRefData>}
获取WGS 1984空间参考
- Source:
Returns:
- Type
- Promise.<SRefData>
(async, static) getX() → {double}
获取图纸坐标原点在投影坐标系中的x值
- Source:
Returns:
- Type
- double
(async, static) getY() → {double}
获取图纸坐标原点在投影坐标系中的y值
- Source:
Returns:
- Type
- double
(async, static) getZone() → {int}
获取投影带号
- Source:
Returns:
- Type
- int
(async, static) getZoneType() → {int}
获取投影分带类型
- Source:
Returns:
- Type
- int
(async, static) load(array) → {Boolean}
加载
Parameters:
| Name | Type | Description |
|---|---|---|
array |
Array | int类型的Array |
- Source:
Returns:
- Type
- Boolean
(async, static) save() → {Array}
保存
- Source:
Returns:
int类型的Array
- Type
- Array
(async, static) setA(a) → {Promise.<*>}
设置地球椭球长轴
Parameters:
| Name | Type | Description |
|---|---|---|
a |
double | 地球椭球长轴 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAbbreviation(abbreviation) → {Promise.<*>}
设置缩写
Parameters:
| Name | Type | Description |
|---|---|---|
abbreviation |
String | 缩写 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAf(af)
设置地球椭球扁率
Parameters:
| Name | Type | Description |
|---|---|---|
af |
double | 地球椭球扁率 |
- Source:
Returns:
{Promise<*>
(async, static) setAlias(alias) → {Promise.<*>}
设置别名
Parameters:
| Name | Type | Description |
|---|---|---|
alias |
String | 别名 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAngUnit(angUnit) → {Promise.<*>}
设置空间数据水平坐标单位:角度
Parameters:
| Name | Type | Description |
|---|---|---|
angUnit |
int | 空间数据水平坐标单位:角度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAngUnitFactor(angUnitFactor) → {Promise.<*>}
设置弧度/unit
Parameters:
| Name | Type | Description |
|---|---|---|
angUnitFactor |
double | 弧度/unit |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMax0(axisMax0) → {Promise.<*>}
设置0轴最大值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMax0 |
double | 0轴最大值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMax1(axisMax1) → {Promise.<*>}
设置1轴最大值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMax1 |
double | 1轴最大值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMax2(axisMax2) → {Promise.<*>}
设置2轴最大值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMax2 |
double | 2轴最大值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMax3(axisMax3) → {Promise.<*>}
设置3轴最大值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMax3 |
double | 3轴最大值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMin0(axisMin0) → {Promise.<*>}
设置0轴最小值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMin0 |
double | 0轴最小值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMin1(axisMin1) → {Promise.<*>}
设置1轴最小值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMin1 |
double | 1轴最小值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMin2(axisMin2) → {Promise.<*>}
设置2轴最小值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMin2 |
double | 2轴最小值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisMin3(axisMin3) → {Promise.<*>}
设置3轴最小值
Parameters:
| Name | Type | Description |
|---|---|---|
axisMin3 |
double | 3轴最小值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisName0(axisName0) → {Promise.<*>}
设置0轴名
Parameters:
| Name | Type | Description |
|---|---|---|
axisName0 |
String | 0轴名 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisName1(axisName1) → {Promise.<*>}
设置1轴名
Parameters:
| Name | Type | Description |
|---|---|---|
axisName1 |
String | 1轴名 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisName2(axisName2) → {Promise.<*>}
设置2轴名
Parameters:
| Name | Type | Description |
|---|---|---|
axisName2 |
String | 2轴名 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisName3(axisName3) → {Promise.<*>}
设置3轴名
Parameters:
| Name | Type | Description |
|---|---|---|
axisName3 |
String | 3轴名 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisUnit0(axisUnit0) → {Promise.<*>}
设置0轴单位
Parameters:
| Name | Type | Description |
|---|---|---|
axisUnit0 |
int | 0轴单位 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisUnit1(axisUnit1) → {Promise.<*>}
设置1轴单位
Parameters:
| Name | Type | Description |
|---|---|---|
axisUnit1 |
int | 1轴单位 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisUnit2(axisUnit2) → {Promise.<*>}
设置2轴单位
Parameters:
| Name | Type | Description |
|---|---|---|
axisUnit2 |
int | 2轴单位 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setAxisUnit3(axisUnit3) → {Promise.<*>}
设置3轴单位
Parameters:
| Name | Type | Description |
|---|---|---|
axisUnit3 |
int | 3轴单位 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setB(b) → {Promise.<*>}
设置地球椭球短轴
Parameters:
| Name | Type | Description |
|---|---|---|
b |
double | 地球椭球短轴 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setDimension(dimension) → {Promise.<*>}
设置数据维数
Parameters:
| Name | Type | Description |
|---|---|---|
dimension |
int | 数据维数 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setFalseE(falseE) → {Promise.<*>}
设置投影东偏
Parameters:
| Name | Type | Description |
|---|---|---|
falseE |
double | 投影东偏 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setFalseN(falseN) → {Promise.<*>}
设置投影北偏
Parameters:
| Name | Type | Description |
|---|---|---|
falseN |
double | 投影北偏 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setGCSName(gcsName) → {Promise.<*>}
设置地理坐标系名称
Parameters:
| Name | Type | Description |
|---|---|---|
gcsName |
String | 地理坐标系名称 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setGeoCode(geoCode) → {Promise.<*>}
设置几何码
Parameters:
| Name | Type | Description |
|---|---|---|
geoCode |
String | 几何码 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setH(h) → {Promise.<*>}
设置空间数据投影平面与大地水准面的高差
Parameters:
| Name | Type | Description |
|---|---|---|
h |
double | 空间数据投影平面与大地水准面的高差 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLat(lat) → {Promise.<*>}
设置空间数据投影原点纬度
Parameters:
| Name | Type | Description |
|---|---|---|
lat |
double | 空间数据投影原点纬度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLat1(lat1) → {Promise.<*>}
设置空间数据双纬线1 纬度
Parameters:
| Name | Type | Description |
|---|---|---|
lat1 |
double | 空间数据双纬线1 纬度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLat2(lat2) → {Promise.<*>}
设置空间数据双纬线2 纬度
Parameters:
| Name | Type | Description |
|---|---|---|
lat2 |
double | 空间数据双纬线2 纬度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLevelName(levelName) → {Promise.<*>}
设置空间数据大地水准面名称
Parameters:
| Name | Type | Description |
|---|---|---|
levelName |
String | 空间数据大地水准面名称 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLevelOffset(levelOffset) → {Promise.<*>}
设置当前高程的偏移量
Parameters:
| Name | Type | Description |
|---|---|---|
levelOffset |
double | 当前高程的偏移量 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLevelType(levelType) → {Promise.<*>}
设置空间数据大地水准面类型
Parameters:
| Name | Type | Description |
|---|---|---|
levelType |
int | 空间数据大地水准面类型 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLon(lon) → {Promise.<*>}
设置空间数据中央经线经度
Parameters:
| Name | Type | Description |
|---|---|---|
lon |
double | 设置空间数据中央经线经度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLon1(lon1) → {Promise.<*>}
设置空间数据双经线1经度
Parameters:
| Name | Type | Description |
|---|---|---|
lon1 |
double | 空间数据双经线1经度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setLon2(lon2) → {Promise.<*>}
设置空间数据双经线2 经度
Parameters:
| Name | Type | Description |
|---|---|---|
lon2 |
double | 空间数据双经线2 经度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setN(n) → {Promise.<*>}
设置空间数据大地水准面与参考椭球面之间的高差
Parameters:
| Name | Type | Description |
|---|---|---|
n |
double | 空间数据大地水准面与参考椭球面之间的高差 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setPCSName(pcsName) → {Promise.<*>}
设置投影坐标系名称
Parameters:
| Name | Type | Description |
|---|---|---|
pcsName |
String | 投影坐标系名称 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setPMName(pmName) → {Promise.<*>}
设置本初子午线(Prime Meridian)名称
Parameters:
| Name | Type | Description |
|---|---|---|
pmName |
String | 本初子午线(Prime Meridian)名称 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setPMOffset(pmOffset) → {Promise.<*>}
设置本初子午线与国标偏移量(DMS)
Parameters:
| Name | Type | Description |
|---|---|---|
pmOffset |
double | 本初子午线与国标偏移量(DMS) |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setPrecision0(precision0) → {Promise.<*>}
设置0轴精度
Parameters:
| Name | Type | Description |
|---|---|---|
precision0 |
double | 0轴精度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setPrecision1(precision1) → {Promise.<*>}
设置1轴精度
Parameters:
| Name | Type | Description |
|---|---|---|
precision1 |
double | 1轴精度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setPrecision2(precision2) → {Promise.<*>}
设置2轴精度
Parameters:
| Name | Type | Description |
|---|---|---|
precision2 |
double | 2轴精度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setPrecision3(precision3) → {Promise.<*>}
设置3轴精度
Parameters:
| Name | Type | Description |
|---|---|---|
precision3 |
double | 3轴精度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setProjName(projName) → {Promise.<*>}
设置投影名
Parameters:
| Name | Type | Description |
|---|---|---|
projName |
String | 投影名 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setProjTypeID(projTypeID) → {Promise.<*>}
设置空间数据投影类型索引
Parameters:
| Name | Type | Description |
|---|---|---|
projTypeID |
int | 空间数据投影类型索引 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setRate(rate) → {Promise.<*>}
设置空间数据水平比例尺倒数
Parameters:
| Name | Type | Description |
|---|---|---|
rate |
double | 空间数据水平比例尺倒数 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setRemark(remark) → {Promise.<*>}
设置备注
Parameters:
| Name | Type | Description |
|---|---|---|
remark |
String | 备注 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setSpheroid(spheroid) → {Promise.<*>}
设置椭球体索引
Parameters:
| Name | Type | Description |
|---|---|---|
spheroid |
int | 椭球体索引 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setSRSID(srsID) → {Promise.<*>}
设置空间坐标系在地理数据库中的唯一标识
Parameters:
| Name | Type | Description |
|---|---|---|
srsID |
int | 空间坐标系在地理数据库中的唯一标识 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setSRSName(name) → {Promise.<*>}
设置名称
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String | 名称 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setType(type) → {Promise.<*>}
设置空间参考系类型
Parameters:
| Name | Type | Description |
|---|---|---|
type |
int | 类型 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setUnit(unit) → {Promise.<*>}
设置空间数据水平坐标单位:长度
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
int | 空间数据水平坐标单位:长度 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setUnitFactor(unitFactor) → {Promise.<*>}
设置米/unit
Parameters:
| Name | Type | Description |
|---|---|---|
unitFactor |
double | 米/unit |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setVerticalDatumType(verticalDatumType) → {Promise.<*>}
设置垂直数据类型
Parameters:
| Name | Type | Description |
|---|---|---|
verticalDatumType |
int | 垂直数据类型 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setVRate(vRate) → {Promise.<*>}
设置空间数据垂向比例尺倒数
Parameters:
| Name | Type | Description |
|---|---|---|
vRate |
double | 设置空间数据垂向比例尺倒数 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setVUnit(vUnit) → {Promise.<*>}
设置空间数据垂向数据单位
Parameters:
| Name | Type | Description |
|---|---|---|
vUnit |
int | 空间数据垂向数据单位 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setX(x) → {Promise.<*>}
获取图纸坐标原点在投影坐标系中的x值
Parameters:
| Name | Type | Description |
|---|---|---|
x |
double | 图纸坐标原点在投影坐标系中的x值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setY(y) → {Promise.<*>}
设置图纸坐标原点在投影坐标系中的y值
Parameters:
| Name | Type | Description |
|---|---|---|
y |
double | 图纸坐标原点在投影坐标系中的y值 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setZone(zone) → {Promise.<*>}
设置投影带号
Parameters:
| Name | Type | Description |
|---|---|---|
zone |
int | 投影带号 |
- Source:
Returns:
- Type
- Promise.<*>
(async, static) setZoneType(zoneType) → {Promise.<*>}
设置投影分带类型
Parameters:
| Name | Type | Description |
|---|---|---|
zoneType |
int | 投影分带类型 |
- Source:
Returns:
- Type
- Promise.<*>