Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/HK80UTM_TO_WGS84GEO.R
Convert HK80UTM coordinates to WGS84GEO coordinates
1 | HK80UTM_TO_WGS84GEO(N, E, zone)
|
N |
Numeric, Northern coordinate in meters |
E |
Numeric, Eastern coordinate in meters |
zone |
zone, UTM zone number, for Hong Kong, either 49 or 50 |
This function converts the HK80UTM coordinates into WGS84UTM coordinates first, and convert the intermediate results into WGS84GEO coordinates (latitude and longitude)
latitude |
latitude in decimal degrees |
longitude
|
longitude in decimal degrees |
The coordinates should be within the range of Hong Kong. Providing coordinates outside Hong Kong will lead to wrong results.
Jinlong Zhang
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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.