WGS84UTM_TO_WGS84GEO.Rd
Covert WGS84UTM coordinates to WGS84GEO coordinates
WGS84UTM_TO_WGS84GEO(N, E, zone = c(49, 50))
N | Numerical, the northern coordinates, in meters. |
---|---|
E | Numerical, the eastern coordinates, in meters. |
zone | UTM zone, should be either 49 or 50. |
Using Equation 3,4,5 and iterations to compute the values.
latitude based on WGS84 datum. In decimal degrees
longitude based on WGS84 datum. In decimal degrees
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
Jinlong Zhang
The coordinates should be within the range of Hong Kong. Providing coordinates outside Hong Kong will lead to wrong results.
#> latitude longitude #> 1 22.4336553287886 114.174807232072### $latitude ### [1] 22.4336553287886 ### ### $longitude ### [1] 114.174807232072 ### ### The answer from the explanatory notes is ### 22 + 26/60 + 1.16/3600 = 22.433655555555557015 ### 114 + 10/60 + 29.24/3600 = 114.17478888888889799