Convert HK80UTM coordinates to WGS84GEO coordinates

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

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

Author

Jinlong Zhang

Note

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

See also

Examples

#### 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)
#> latitude longitude #> 1 22.3203350648367 114.143742141431