WGS84UTM_TO_HK1980GRID: Convert WGS84UTM coordinates to HK1980GRID coordinates

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/WGS84UTM_TO_HK1980GRID.R

Description

Convert WGS84UTM coordinates to HK1980GRID coordinates

Usage

1

Arguments

N

Numerical, Northern coordinate in meters.

E

Numerical, Eastern coordinate in meters.

zone

Numerical, either 49 or 50.

Details

This function converts the coordinates to WGS84GO, and then to HK80GO and eventually to HK1980GRID.

Value

N

Numerical, Northern coordinate in meters.

E

Numerical, Eastern coordinate in meters.

Note

The coordinates should be within the range of Hong Kong. Providing coordinates outside Hong Kong will lead to wrong results.

Author(s)

Jinlong Zhang

References

Survey & Mapping Office Lands Department, Hong Kong Government (1995). Explanatory Notes on Geodetic Datums in Hong Kong, available at: http://www.geodetic.gov.hk/smo/gsi/data/pdf/explanatorynotes.pdf

See Also

HK1980GRID_TO_WGS84UTM

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
options(digits = 15)
WGS84UTM_TO_HK1980GRID(2471279, 205494, zone = 50)
#### $N
#### [1] 820347.647263194
#### 
#### $E
#### [1] 832591.689923123

######################
#### Results from http://www.geodetic.gov.hk/smo/tform/tform.aspx
#### 820351.389, 832591.320

helixcn/HK80 documentation built on Aug. 13, 2021, 3:21 a.m.