Convert WGS84GEO coordinates to WGS84UTM coordinates

WGS84GEO_TO_WGS84UTM(latitude, longitude)

Arguments

latitude

Latitude in decimal degrees

longitude

longitude in decimal degrees

Details

This function uses equation 1, 2, 3 in the explanatory notes to compute the WGS84UTM coordinates.

Value

N

The northern coordinates in meters

E

The eastern coordinates in meters

zone

zone for UTM, either 49 or 50

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

options(digits = 15) WGS84GEO_TO_WGS84UTM(22 + 26/60 + 1.26/3600, 114 + 10/60 + 29.31/3600)
#> N E zone #> 1 2483566.19687669 209189.467417282 50
#### 22.433683333333334531 #### 114.17480833333333123 #### $N #### [1] 2483566.19687669 #### #### $E #### [1] 209189.467417282 #### #### $zone #### [1] 50 ### Answer from the explanatory notes ### 2483566m N ### 209194m ### Answer from ### http://www.geodetic.gov.hk/smo/tform/tform.aspx ### 2483568m N ### 209192m E