HK80UTM_TO_WGS84GEO: Convert HK80UTM coordinates to WGS84GEO coordinates

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

View source: R/HK80UTM_TO_WGS84GEO.R

Description

Convert HK80UTM coordinates to WGS84GEO coordinates

Usage

1
HK80UTM_TO_WGS84GEO(N, E, zone)

Arguments

N

Numeric, Northern coordinate in meters

E

Numeric, Eastern coordinate in meters

zone

zone, UTM zone number, for Hong Kong, either 49 or 50

Details

This function converts the HK80UTM coordinates into WGS84UTM coordinates first, and convert the intermediate results into WGS84GEO coordinates (latitude and longitude)

Value

latitude

latitude in decimal degrees

longitude

longitude in decimal degrees

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

WGS84GEO_TO_HK80UTM

Examples

1
2
3
4
5
#### The similar conversion is not available 
#### at http://www.geodetic.gov.hk/smo/tform/tform.aspx
#### Therefore, its accuracy is unknown.
options(digits = 15)
HK80UTM_TO_WGS84GEO(N = 2471279, E = 205494, zone = 50)

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