HK80GEO_TO_HK1980GRID: Convert the HK80GEO coordinates to HK1980GRID coordinates

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

View source: R/HK80GEO_TO_HK1980GRID.R

Description

Convert the HK80GEO coordinates to HK1980GRID coordinates

Usage

1
HK80GEO_TO_HK1980GRID(latitude, longitude)

Arguments

latitude

latitude in decimal degrees

longitude

longitude in decimal degrees

Details

This functions uses equation 1,2,3 in the explanatory note (page C9) to convert the HK80GEO coordinates into HK1980GRID coordinates.

Value

N

Northern coordinate in meters

E

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_HK80GEO

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
options(digits = 15)
HK1980GRID_TO_HK80GEO(820351.389, 832591.320)
#### $latitude
#### [1] 22.3237017196981
#### 
#### $longitude
#### [1] 114.138734989417

####  Answer from the online conversion tool
### 22.323701767
### 114.138734989

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