new GARS()
경위도 좌표를 GARS(Global Area Reference System)형식으로 변환하는 클래스이다.
Methods
(static) GARS2Geo(gars) → {string}
GARS 좌표값를 경위도 좌표값으로 변환한다.
Parameters:
Name | Type | Description |
---|---|---|
gars |
number | GARS 좌표값 |
Returns:
경위도 좌표값을 반환한다.
- Type
- string
(static) Geo2GARS(latitude, longitude, precision) → {string}
경위도를 GARS 좌표값으로 변환한다.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
latitude |
number | 위도 좌표값(decimal degree) |
|
longitude |
number | 경도 좌표값(decimal degree) |
|
precision |
number |
5
|
정밀도(30분, 15분, 5분 간격으로 설정 가능) |
Returns:
GARS 좌표값을 반환한다.
- Type
- string