WGS84UTM_TO_HK80UTM: Convert WGS84UTM coordinates TO HK80UTM coordinates

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

View source: R/WGS84UTM_TO_HK80UTM.R

Description

Convert WGS84UTM coordinates TO HK80UTM coordinates

Usage

1
WGS84UTM_TO_HK80UTM(N, E, zone = c(49, 50))

Arguments

N

Numeric, Northern coordinate in meter

E

Numeric, Eastern coordinate in meter

zone

zone, numeric, either 49 or 50

Details

This functions uses a simplified relationship to convert the coordinates. If zone is 49, res.N = N + 195, res.E = E - 245; if zone is 50, res.N = N + 205, res.E = E - 260

Value

N

Northern coordinates in meters

E

Eastern coordinates in meters

zone

either 49 or 50

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

HK80UTM_TO_WGS84UTM

Examples

1
2
3
4
#### The similar conversion is not available at 
#### http://www.geodetic.gov.hk/smo/tform/tform.aspx
options(digits = 15)
WGS84UTM_TO_HK80UTM(2471279, 205494, zone = 50)

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