HK80GEO_TO_HK80UTM {HK80}R Documentation

Convert HK80 geographical coordinates to HK80 UTM coordinates

Description

Convert HK80 geographical coordinates to HK80 UTM coordinates

Usage

HK80GEO_TO_HK80UTM(latitude, longitude)

Arguments

latitude

Numeric, latitude in decimal format.

longitude

Numeric, longitude in decimal format.

Details

Using equation (1) to (3) in the explanatory Note within this package. The document is available at : http://www.geodetic.gov.hk/smo/gsi/data/pdf/explanatorynotes.pdf

Value

A list including the HK80UTM Coordinates, including: N, E, and Zone.

Note

The latitude and longitude input should be constrained to Hong Kong.

Author(s)

Jinlong Zhang

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

See Also

HK80UTM_TO_HK80GEO

Examples

options(digits = 15)
#### The example on the explanatory notes
HK80GEO_TO_HK80UTM(22 + 26/60 + 6.76/3600, 114 + 10/60 + 20.46/3600)
#### Output
##  $N
##  [1] 2483772.487
##  
##  $E
##  [1] 208931.9164
##  
##  $zone
##  [1] "50Q"

###### The results from the explanatory notes
#### 2483772, 208932

###### The similar conversion is not available 
###### from the online conversion tool.


[Package HK80 version 0.0.2 Index]