Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/HK80GEO_TO_HK80UTM.R
Convert HK80 geographical coordinates to HK80 UTM coordinates
1 | HK80GEO_TO_HK80UTM(latitude, longitude)
|
latitude |
Numeric, latitude in decimal format. |
longitude |
Numeric, longitude in decimal format. |
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
A list including the HK80UTM Coordinates, including: N, E, and Zone.
The latitude and longitude input should be constrained to Hong Kong.
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 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.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.