Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/HK1980GRID_TO_WGS84UTM.R
Convert HK1980GRID coordinates to WGS84UTM coordinates
1 | HK1980GRID_TO_WGS84UTM(N, E)
|
N |
Numeric, Northern coordinate in meters |
E |
Numeric, Eastern coordinate in meters |
This function converts the HK1980GRID coordinates to HK80 geographical coordinates (latitude and longitude ) first, and then converts the later to HK80UTM coordinates, and eventually converts the HK80UTM coordinates to WGS84UTM.
N |
Northern coordinate in meters |
E |
Eastern coordinate in meters |
zone |
Zone |
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 6 7 8 9 10 11 12 13 14 15 16 | options(digits = 15)
HK1980GRID_TO_WGS84UTM(820351.389, 832591.320)
#### $N
#### [1] 2471278.72371238
####
#### $E
#### [1] 205493.220852789
####
#### $zone
#### [1] 50
######################################
#### Answer from the online Conversion tool
#### http://www.geodetic.gov.hk/smo/tform/tform.aspx
#### 50Q 2471279 205494
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.