WGS84GEO_TO_HK80UTM: Convert WGS84GEO coordinates to HK80UTM coordinates

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

View source: R/WGS84GEO_TO_HK80UTM.R

Description

Convert WGS84GEO coordinates to HK80UTM coordinates

Usage

1
WGS84GEO_TO_HK80UTM(latitude, longitude)

Arguments

latitude

latitude in decimal degrees

longitude

longitude in decimal degrees

Details

This function first converts the WGS84GEO coordinates to WGS84UTM, and then converts the corresponding WGS84UTM coordinates to HK80UTM.

Value

N

Northern coordinate in meters

E

Eastern coordinate in meters

zone

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_WGS84GEO

Examples

1
2
3
4
5
#### The similar conversion is not available at 
#### http://www.geodetic.gov.hk/smo/tform/tform.aspx
#### Therefore it the output has not been verified.
options(digits = 15)
WGS84GEO_TO_HK80UTM(22.322172084, 114.141187917)

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