# Class: SRefData

## SRefData()

#### new SRefData()

android空间参考系对象功能组件

Source:
  - SRefData.js, line 11

### Methods

#### (async, static) clone() → {Promise.<SRefData>}

克隆空间参考系对象

Source:
  - SRefData.js, line 1801

##### Returns:

Type
  Promise.<SRefData>

#### (async, static) createObj() → {Promise.<SRefData>}

构造一个新的SRefData对象。

Source:
  - SRefData.js, line 21

##### Returns:

Type
  Promise.<SRefData>

#### (async, static) getA() → {double}

获取地球椭球长轴

Source:
  - SRefData.js, line 261

##### Returns:

Type
  double

#### (async, static) getAbbreviation() → {String}

获取缩写

Source:
  - SRefData.js, line 121

##### Returns:

Type
  String

#### (async, static) getAf() → {double}

获取地球椭球扁率

Source:
  - SRefData.js, line 317

##### Returns:

Type
  double

#### (async, static) getAlias() → {String}

获取别名

Source:
  - SRefData.js, line 93

##### Returns:

Type
  String

#### (async, static) getAngUnit() → {int}

获取空间数据水平坐标单位：角度

Source:
  - SRefData.js, line 1493

##### Returns:

Type
  int

#### (async, static) getAngUnitFactor() → {double}

获取弧度/unit

Source:
  - SRefData.js, line 1521

##### Returns:

Type
  double

#### (async, static) getAxisMax0() → {double}

获取0轴最大值

Source:
  - SRefData.js, line 961

##### Returns:

Type
  double

#### (async, static) getAxisMax1() → {double}

获取1轴最大值

Source:
  - SRefData.js, line 1101

##### Returns:

Type
  double

#### (async, static) getAxisMax2() → {double}

获取2轴最大值

Source:
  - SRefData.js, line 1241

##### Returns:

Type
  double

#### (async, static) getAxisMax3() → {double}

获取3轴最大值

Source:
  - SRefData.js, line 1381

##### Returns:

Type
  double

#### (async, static) getAxisMin0() → {double}

获取0轴最小值

Source:
  - SRefData.js, line 933

##### Returns:

Type
  double

#### (async, static) getAxisMin1() → {double}

获取1轴最小值

Source:
  - SRefData.js, line 1073

##### Returns:

Type
  double

#### (async, static) getAxisMin2() → {double}

获取2轴最小值

Source:
  - SRefData.js, line 1213

##### Returns:

Type
  double

#### (async, static) getAxisMin3() → {double}

获取3轴最小值

Source:
  - SRefData.js, line 1353

##### Returns:

Type
  double

#### (async, static) getAxisName0() → {String}

获取0轴名

Source:
  - SRefData.js, line 877

##### Returns:

Type
  String

#### (async, static) getAxisName1() → {String}

获取1轴名

Source:
  - SRefData.js, line 1017

##### Returns:

Type
  String

#### (async, static) getAxisName2() → {String}

获取2轴名

Source:
  - SRefData.js, line 1157

##### Returns:

Type
  String

#### (async, static) getAxisName3() → {String}

获取3轴名

Source:
  - SRefData.js, line 1297

##### Returns:

Type
  String

#### (async, static) getAxisUnit0() → {int}

获取0轴单位

Source:
  - SRefData.js, line 905

##### Returns:

Type
  int

#### (async, static) getAxisUnit1() → {int}

获取1轴单位

Source:
  - SRefData.js, line 1045

##### Returns:

Type
  int

#### (async, static) getAxisUnit2() → {int}

获取2轴单位

Source:
  - SRefData.js, line 1185

##### Returns:

Type
  int

#### (async, static) getAxisUnit3() → {int}

获取3轴单位

Source:
  - SRefData.js, line 1325

##### Returns:

Type
  int

#### (async, static) getB() → {double}

获取地球椭球短轴

Source:
  - SRefData.js, line 289

##### Returns:

Type
  double

#### (async, static) getDimension() → {int}

获取数据维数

Source:
  - SRefData.js, line 849

##### Returns:

Type
  int

#### (async, static) getFalseE() → {double}

获取投影东偏

Source:
  - SRefData.js, line 737

##### Returns:

Type
  double

#### (async, static) getFalseN() → {double}

获取投影北偏

Source:
  - SRefData.js, line 765

##### Returns:

Type
  double

#### (async, static) getGCSName() → {String}

获取地理坐标系名称

Source:
  - SRefData.js, line 205

##### Returns:

Type
  String

#### (async, static) getGeoCode() → {String}

获取几何码

Source:
  - SRefData.js, line 401

##### Returns:

Type
  String

#### (async, static) getH() → {double}

获取空间数据投影平面与大地水准面的高差

Source:
  - SRefData.js, line 1689

##### Returns:

Type
  double

#### (async, static) getLat() → {double}

获取空间数据投影原点纬度

Source:
  - SRefData.js, line 653

##### Returns:

Type
  double

#### (async, static) getLat1() → {double}

获取空间数据双纬线1 纬度

Source:
  - SRefData.js, line 681

##### Returns:

Type
  double

#### (async, static) getLat2() → {double}

获取空间数据双纬线2 纬度

Source:
  - SRefData.js, line 709

##### Returns:

Type
  double

#### (async, static) getLevelName() → {String}

获取空间数据大地水准面名称

Source:
  - SRefData.js, line 1605

##### Returns:

Type
  String

#### (async, static) getLevelOffset() → {double}

获取当前高程的偏移量

Source:
  - SRefData.js, line 1633

##### Returns:

Type
  double

#### (async, static) getLevelType() → {int}

获取空间数据大地水准面类型

Source:
  - SRefData.js, line 1577

##### Returns:

Type
  int

#### (async, static) getLon() → {double}

获取空间数据中央经线经度

Source:
  - SRefData.js, line 569

##### Returns:

Type
  double

#### (async, static) getLon1() → {double}

获取空间数据双经线1 经度

Source:
  - SRefData.js, line 597

##### Returns:

Type
  double

#### (async, static) getLon2() → {double}

获取空间数据双经线2经度

Source:
  - SRefData.js, line 625

##### Returns:

Type
  double

#### (async, static) getN() → {double}

获取空间数据大地水准面与参考椭球面之间的高差

Source:
  - SRefData.js, line 1661

##### Returns:

Type
  double

#### (async, static) getPMName() → {String}

获取本初子午线(Prime Meridian)名称

Source:
  - SRefData.js, line 345

##### Returns:

Type
  String

#### (async, static) getPMOffset() → {double}

获取本初子午线与国标偏移量(DMS)

Source:
  - SRefData.js, line 373

##### Returns:

Type
  double

#### (async, static) getPrecision0() → {double}

获取0轴精度

Source:
  - SRefData.js, line 989

##### Returns:

Type
  double

#### (async, static) getPrecision1() → {double}

获取1轴精度

Source:
  - SRefData.js, line 1129

##### Returns:

Type
  double

#### (async, static) getPrecision2() → {double}

获取2轴精度

Source:
  - SRefData.js, line 1269

##### Returns:

Type
  double

#### (async, static) getPrecision3() → {double}

获取3轴精度

Source:
  - SRefData.js, line 1409

##### Returns:

Type
  double

#### (async, static) getProjName() → {String}

获取投影名

Source:
  - SRefData.js, line 457

##### Returns:

Type
  String

#### (async, static) getProjTypeID() → {int}

获取空间数据投影类型索引

Source:
  - SRefData.js, line 485

##### Returns:

Type
  int

#### (async, static) getRate() → {double}

获取空间数据水平比例尺倒数

Source:
  - SRefData.js, line 1549

##### Returns:

Type
  double

#### (async, static) getRemark() → {String}

获取备注

Source:
  - SRefData.js, line 149

##### Returns:

Type
  String

#### (async, static) getSpheroid() → {int}

获取椭球体索引

Source:
  - SRefData.js, line 233

##### Returns:

Type
  int

#### (async, static) getSRSID() → {Promise.<*>}

获取空间坐标系在地理数据库中的唯一标识

Source:
  - SRefData.js, line 37

##### Returns:

Type
  Promise.<*>

#### (async, static) getSRSName()

获取名称

Source:
  - SRefData.js, line 65

#### (async, static) getType() → {int}

获取类型

Source:
  - SRefData.js, line 177

##### Returns:

Type
  int

#### (async, static) getUnit() → {int}

获取空间数据水平坐标单位：长度

Source:
  - SRefData.js, line 1437

##### Returns:

Type
  int

#### (async, static) getUnitFactor() → {double}

获取米/unit

Source:
  - SRefData.js, line 1465

##### Returns:

Type
  double

#### (async, static) getVerticalDatumType() → {int}

获取垂直数据类型

Source:
  - SRefData.js, line 1773

##### Returns:

Type
  int

#### (async, static) getVRate() → {double}

获取空间数据垂向比例尺倒数

Source:
  - SRefData.js, line 1717

##### Returns:

Type
  double

#### (async, static) getVUnit() → {int}

获取空间数据垂向数据单位

Source:
  - SRefData.js, line 1745

##### Returns:

Type
  int

#### (async, static) getWebMercator() → {Promise.<SRefData>}

获取Web墨卡托空间参考

Source:
  - SRefData.js, line 1846

##### Returns:

Type
  Promise.<SRefData>

#### (async, static) getWGS84() → {Promise.<SRefData>}

获取WGS 1984空间参考

Source:
  - SRefData.js, line 1862

##### Returns:

Type
  Promise.<SRefData>

#### (async, static) getX() → {double}

获取图纸坐标原点在投影坐标系中的x值

Source:
  - SRefData.js, line 793

##### Returns:

Type
  double

#### (async, static) getY() → {double}

获取图纸坐标原点在投影坐标系中的y值

Source:
  - SRefData.js, line 821

##### Returns:

Type
  double

#### (async, static) getZone() → {int}

获取投影带号

Source:
  - SRefData.js, line 541

##### Returns:

Type
  int

#### (async, static) getZoneType() → {int}

获取投影分带类型

Source:
  - SRefData.js, line 513

##### Returns:

Type
  int

#### (async, static) load(array) → {Boolean}

加载

##### Parameters:

Name | Type | Description
--- | --- | ---
`array` | Array | int类型的Array

Source:
  - SRefData.js, line 1818

##### Returns:

Type
  Boolean

#### (async, static) save() → {Array}

保存

Source:
  - SRefData.js, line 1832

##### Returns:

int类型的Array

Type
  Array

#### (async, static) setA(a) → {Promise.<*>}

设置地球椭球长轴

##### Parameters:

Name | Type | Description
--- | --- | ---
`a` | double | 地球椭球长轴

Source:
  - SRefData.js, line 276

##### Returns:

Type
  Promise.<*>

#### (async, static) setAbbreviation(abbreviation) → {Promise.<*>}

设置缩写

##### Parameters:

Name | Type | Description
--- | --- | ---
`abbreviation` | String | 缩写

Source:
  - SRefData.js, line 136

##### Returns:

Type
  Promise.<*>

#### (async, static) setAf(af)

设置地球椭球扁率

##### Parameters:

Name | Type | Description
--- | --- | ---
`af` | double | 地球椭球扁率

Source:
  - SRefData.js, line 332

##### Returns:

{Promise<*>

#### (async, static) setAlias(alias) → {Promise.<*>}

设置别名

##### Parameters:

Name | Type | Description
--- | --- | ---
`alias` | String | 别名

Source:
  - SRefData.js, line 108

##### Returns:

Type
  Promise.<*>

#### (async, static) setAngUnit(angUnit) → {Promise.<*>}

设置空间数据水平坐标单位：角度

##### Parameters:

Name | Type | Description
--- | --- | ---
`angUnit` | int | 空间数据水平坐标单位：角度

Source:
  - SRefData.js, line 1508

##### Returns:

Type
  Promise.<*>

#### (async, static) setAngUnitFactor(angUnitFactor) → {Promise.<*>}

设置弧度/unit

##### Parameters:

Name | Type | Description
--- | --- | ---
`angUnitFactor` | double | 弧度/unit

Source:
  - SRefData.js, line 1536

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMax0(axisMax0) → {Promise.<*>}

设置0轴最大值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMax0` | double | 0轴最大值

Source:
  - SRefData.js, line 976

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMax1(axisMax1) → {Promise.<*>}

设置1轴最大值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMax1` | double | 1轴最大值

Source:
  - SRefData.js, line 1116

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMax2(axisMax2) → {Promise.<*>}

设置2轴最大值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMax2` | double | 2轴最大值

Source:
  - SRefData.js, line 1256

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMax3(axisMax3) → {Promise.<*>}

设置3轴最大值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMax3` | double | 3轴最大值

Source:
  - SRefData.js, line 1396

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMin0(axisMin0) → {Promise.<*>}

设置0轴最小值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMin0` | double | 0轴最小值

Source:
  - SRefData.js, line 948

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMin1(axisMin1) → {Promise.<*>}

设置1轴最小值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMin1` | double | 1轴最小值

Source:
  - SRefData.js, line 1088

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMin2(axisMin2) → {Promise.<*>}

设置2轴最小值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMin2` | double | 2轴最小值

Source:
  - SRefData.js, line 1228

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisMin3(axisMin3) → {Promise.<*>}

设置3轴最小值

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisMin3` | double | 3轴最小值

Source:
  - SRefData.js, line 1368

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisName0(axisName0) → {Promise.<*>}

设置0轴名

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisName0` | String | 0轴名

Source:
  - SRefData.js, line 892

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisName1(axisName1) → {Promise.<*>}

设置1轴名

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisName1` | String | 1轴名

Source:
  - SRefData.js, line 1032

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisName2(axisName2) → {Promise.<*>}

设置2轴名

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisName2` | String | 2轴名

Source:
  - SRefData.js, line 1172

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisName3(axisName3) → {Promise.<*>}

设置3轴名

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisName3` | String | 3轴名

Source:
  - SRefData.js, line 1312

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisUnit0(axisUnit0) → {Promise.<*>}

设置0轴单位

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisUnit0` | int | 0轴单位

Source:
  - SRefData.js, line 920

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisUnit1(axisUnit1) → {Promise.<*>}

设置1轴单位

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisUnit1` | int | 1轴单位

Source:
  - SRefData.js, line 1060

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisUnit2(axisUnit2) → {Promise.<*>}

设置2轴单位

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisUnit2` | int | 2轴单位

Source:
  - SRefData.js, line 1200

##### Returns:

Type
  Promise.<*>

#### (async, static) setAxisUnit3(axisUnit3) → {Promise.<*>}

设置3轴单位

##### Parameters:

Name | Type | Description
--- | --- | ---
`axisUnit3` | int | 3轴单位

Source:
  - SRefData.js, line 1340

##### Returns:

Type
  Promise.<*>

#### (async, static) setB(b) → {Promise.<*>}

设置地球椭球短轴

##### Parameters:

Name | Type | Description
--- | --- | ---
`b` | double | 地球椭球短轴

Source:
  - SRefData.js, line 304

##### Returns:

Type
  Promise.<*>

#### (async, static) setDimension(dimension) → {Promise.<*>}

设置数据维数

##### Parameters:

Name | Type | Description
--- | --- | ---
`dimension` | int | 数据维数

Source:
  - SRefData.js, line 864

##### Returns:

Type
  Promise.<*>

#### (async, static) setFalseE(falseE) → {Promise.<*>}

设置投影东偏

##### Parameters:

Name | Type | Description
--- | --- | ---
`falseE` | double | 投影东偏

Source:
  - SRefData.js, line 752

##### Returns:

Type
  Promise.<*>

#### (async, static) setFalseN(falseN) → {Promise.<*>}

设置投影北偏

##### Parameters:

Name | Type | Description
--- | --- | ---
`falseN` | double | 投影北偏

Source:
  - SRefData.js, line 780

##### Returns:

Type
  Promise.<*>

#### (async, static) setGCSName(gcsName) → {Promise.<*>}

设置地理坐标系名称

##### Parameters:

Name | Type | Description
--- | --- | ---
`gcsName` | String | 地理坐标系名称

Source:
  - SRefData.js, line 220

##### Returns:

Type
  Promise.<*>

#### (async, static) setGeoCode(geoCode) → {Promise.<*>}

设置几何码

##### Parameters:

Name | Type | Description
--- | --- | ---
`geoCode` | String | 几何码

Source:
  - SRefData.js, line 416

##### Returns:

Type
  Promise.<*>

#### (async, static) setH(h) → {Promise.<*>}

设置空间数据投影平面与大地水准面的高差

##### Parameters:

Name | Type | Description
--- | --- | ---
`h` | double | 空间数据投影平面与大地水准面的高差

Source:
  - SRefData.js, line 1704

##### Returns:

Type
  Promise.<*>

#### (async, static) setLat(lat) → {Promise.<*>}

设置空间数据投影原点纬度

##### Parameters:

Name | Type | Description
--- | --- | ---
`lat` | double | 空间数据投影原点纬度

Source:
  - SRefData.js, line 668

##### Returns:

Type
  Promise.<*>

#### (async, static) setLat1(lat1) → {Promise.<*>}

设置空间数据双纬线1 纬度

##### Parameters:

Name | Type | Description
--- | --- | ---
`lat1` | double | 空间数据双纬线1 纬度

Source:
  - SRefData.js, line 696

##### Returns:

Type
  Promise.<*>

#### (async, static) setLat2(lat2) → {Promise.<*>}

设置空间数据双纬线2 纬度

##### Parameters:

Name | Type | Description
--- | --- | ---
`lat2` | double | 空间数据双纬线2 纬度

Source:
  - SRefData.js, line 724

##### Returns:

Type
  Promise.<*>

#### (async, static) setLevelName(levelName) → {Promise.<*>}

设置空间数据大地水准面名称

##### Parameters:

Name | Type | Description
--- | --- | ---
`levelName` | String | 空间数据大地水准面名称

Source:
  - SRefData.js, line 1620

##### Returns:

Type
  Promise.<*>

#### (async, static) setLevelOffset(levelOffset) → {Promise.<*>}

设置当前高程的偏移量

##### Parameters:

Name | Type | Description
--- | --- | ---
`levelOffset` | double | 当前高程的偏移量

Source:
  - SRefData.js, line 1648

##### Returns:

Type
  Promise.<*>

#### (async, static) setLevelType(levelType) → {Promise.<*>}

设置空间数据大地水准面类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`levelType` | int | 空间数据大地水准面类型

Source:
  - SRefData.js, line 1592

##### Returns:

Type
  Promise.<*>

#### (async, static) setLon(lon) → {Promise.<*>}

设置空间数据中央经线经度

##### Parameters:

Name | Type | Description
--- | --- | ---
`lon` | double | 设置空间数据中央经线经度

Source:
  - SRefData.js, line 584

##### Returns:

Type
  Promise.<*>

#### (async, static) setLon1(lon1) → {Promise.<*>}

设置空间数据双经线1经度

##### Parameters:

Name | Type | Description
--- | --- | ---
`lon1` | double | 空间数据双经线1经度

Source:
  - SRefData.js, line 612

##### Returns:

Type
  Promise.<*>

#### (async, static) setLon2(lon2) → {Promise.<*>}

设置空间数据双经线2 经度

##### Parameters:

Name | Type | Description
--- | --- | ---
`lon2` | double | 空间数据双经线2 经度

Source:
  - SRefData.js, line 640

##### Returns:

Type
  Promise.<*>

#### (async, static) setN(n) → {Promise.<*>}

设置空间数据大地水准面与参考椭球面之间的高差

##### Parameters:

Name | Type | Description
--- | --- | ---
`n` | double | 空间数据大地水准面与参考椭球面之间的高差

Source:
  - SRefData.js, line 1676

##### Returns:

Type
  Promise.<*>

#### (async, static) setPCSName(pcsName) → {Promise.<*>}

设置投影坐标系名称

##### Parameters:

Name | Type | Description
--- | --- | ---
`pcsName` | String | 投影坐标系名称

Source:
  - SRefData.js, line 444

##### Returns:

Type
  Promise.<*>

#### (async, static) setPMName(pmName) → {Promise.<*>}

设置本初子午线(Prime Meridian)名称

##### Parameters:

Name | Type | Description
--- | --- | ---
`pmName` | String | 本初子午线(Prime Meridian)名称

Source:
  - SRefData.js, line 360

##### Returns:

Type
  Promise.<*>

#### (async, static) setPMOffset(pmOffset) → {Promise.<*>}

设置本初子午线与国标偏移量(DMS)

##### Parameters:

Name | Type | Description
--- | --- | ---
`pmOffset` | double | 本初子午线与国标偏移量(DMS)

Source:
  - SRefData.js, line 388

##### Returns:

Type
  Promise.<*>

#### (async, static) setPrecision0(precision0) → {Promise.<*>}

设置0轴精度

##### Parameters:

Name | Type | Description
--- | --- | ---
`precision0` | double | 0轴精度

Source:
  - SRefData.js, line 1004

##### Returns:

Type
  Promise.<*>

#### (async, static) setPrecision1(precision1) → {Promise.<*>}

设置1轴精度

##### Parameters:

Name | Type | Description
--- | --- | ---
`precision1` | double | 1轴精度

Source:
  - SRefData.js, line 1144

##### Returns:

Type
  Promise.<*>

#### (async, static) setPrecision2(precision2) → {Promise.<*>}

设置2轴精度

##### Parameters:

Name | Type | Description
--- | --- | ---
`precision2` | double | 2轴精度

Source:
  - SRefData.js, line 1284

##### Returns:

Type
  Promise.<*>

#### (async, static) setPrecision3(precision3) → {Promise.<*>}

设置3轴精度

##### Parameters:

Name | Type | Description
--- | --- | ---
`precision3` | double | 3轴精度

Source:
  - SRefData.js, line 1424

##### Returns:

Type
  Promise.<*>

#### (async, static) setProjName(projName) → {Promise.<*>}

设置投影名

##### Parameters:

Name | Type | Description
--- | --- | ---
`projName` | String | 投影名

Source:
  - SRefData.js, line 472

##### Returns:

Type
  Promise.<*>

#### (async, static) setProjTypeID(projTypeID) → {Promise.<*>}

设置空间数据投影类型索引

##### Parameters:

Name | Type | Description
--- | --- | ---
`projTypeID` | int | 空间数据投影类型索引

Source:
  - SRefData.js, line 500

##### Returns:

Type
  Promise.<*>

#### (async, static) setRate(rate) → {Promise.<*>}

设置空间数据水平比例尺倒数

##### Parameters:

Name | Type | Description
--- | --- | ---
`rate` | double | 空间数据水平比例尺倒数

Source:
  - SRefData.js, line 1564

##### Returns:

Type
  Promise.<*>

#### (async, static) setRemark(remark) → {Promise.<*>}

设置备注

##### Parameters:

Name | Type | Description
--- | --- | ---
`remark` | String | 备注

Source:
  - SRefData.js, line 164

##### Returns:

Type
  Promise.<*>

#### (async, static) setSpheroid(spheroid) → {Promise.<*>}

设置椭球体索引

##### Parameters:

Name | Type | Description
--- | --- | ---
`spheroid` | int | 椭球体索引

Source:
  - SRefData.js, line 248

##### Returns:

Type
  Promise.<*>

#### (async, static) setSRSID(srsID) → {Promise.<*>}

设置空间坐标系在地理数据库中的唯一标识

##### Parameters:

Name | Type | Description
--- | --- | ---
`srsID` | int | 空间坐标系在地理数据库中的唯一标识

Source:
  - SRefData.js, line 52

##### Returns:

Type
  Promise.<*>

#### (async, static) setSRSName(name) → {Promise.<*>}

设置名称

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | String | 名称

Source:
  - SRefData.js, line 80

##### Returns:

Type
  Promise.<*>

#### (async, static) setType(type) → {Promise.<*>}

设置空间参考系类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`type` | int | 类型

Source:
  - SRefData.js, line 192

##### Returns:

Type
  Promise.<*>

#### (async, static) setUnit(unit) → {Promise.<*>}

设置空间数据水平坐标单位：长度

##### Parameters:

Name | Type | Description
--- | --- | ---
`unit` | int | 空间数据水平坐标单位：长度

Source:
  - SRefData.js, line 1452

##### Returns:

Type
  Promise.<*>

#### (async, static) setUnitFactor(unitFactor) → {Promise.<*>}

设置米/unit

##### Parameters:

Name | Type | Description
--- | --- | ---
`unitFactor` | double | 米/unit

Source:
  - SRefData.js, line 1480

##### Returns:

Type
  Promise.<*>

#### (async, static) setVerticalDatumType(verticalDatumType) → {Promise.<*>}

设置垂直数据类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`verticalDatumType` | int | 垂直数据类型

Source:
  - SRefData.js, line 1788

##### Returns:

Type
  Promise.<*>

#### (async, static) setVRate(vRate) → {Promise.<*>}

设置空间数据垂向比例尺倒数

##### Parameters:

Name | Type | Description
--- | --- | ---
`vRate` | double | 设置空间数据垂向比例尺倒数

Source:
  - SRefData.js, line 1732

##### Returns:

Type
  Promise.<*>

#### (async, static) setVUnit(vUnit) → {Promise.<*>}

设置空间数据垂向数据单位

##### Parameters:

Name | Type | Description
--- | --- | ---
`vUnit` | int | 空间数据垂向数据单位

Source:
  - SRefData.js, line 1760

##### Returns:

Type
  Promise.<*>

#### (async, static) setX(x) → {Promise.<*>}

获取图纸坐标原点在投影坐标系中的x值

##### Parameters:

Name | Type | Description
--- | --- | ---
`x` | double | 图纸坐标原点在投影坐标系中的x值

Source:
  - SRefData.js, line 808

##### Returns:

Type
  Promise.<*>

#### (async, static) setY(y) → {Promise.<*>}

设置图纸坐标原点在投影坐标系中的y值

##### Parameters:

Name | Type | Description
--- | --- | ---
`y` | double | 图纸坐标原点在投影坐标系中的y值

Source:
  - SRefData.js, line 836

##### Returns:

Type
  Promise.<*>

#### (async, static) setZone(zone) → {Promise.<*>}

设置投影带号

##### Parameters:

Name | Type | Description
--- | --- | ---
`zone` | int | 投影带号

Source:
  - SRefData.js, line 556

##### Returns:

Type
  Promise.<*>

#### (async, static) setZoneType(zoneType) → {Promise.<*>}

设置投影分带类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`zoneType` | int | 投影分带类型

Source:
  - SRefData.js, line 528

##### Returns:

Type
  Promise.<*>