HK80GEO_TO_HK80UTM: Convert HK80 geographical coordinates to HK80 UTM coordinates

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/HK80GEO_TO_HK80UTM.R

Description

Convert HK80 geographical coordinates to HK80 UTM coordinates

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
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.

HK80 documentation built on May 2, 2019, 2:10 a.m.