Learn R Programming

HK80 (version 0.0.2)

HK80-package: Conversion Tools for HK80 Geographical Coordinate System

Description

Conversion and Reverse Conversion between HK80 Geographical Coordinate System and WGS84 based Geographical Coordinate Systems.

Arguments

Details

Package:
HK80
Type:
Package
Version:
0.0.2
Date:
2016-07-26
License:
GPL-2
This package provides functions for converting the coordinates between WGS84UTM, WGS84GEO, HK80UTM, HK80GEO and HK1980GRID Coordinate Systems used in Hong Kong SAR, based on the algorithms described in Explanatory Notes on Geodetic Datums in Hong Kong by Survey and Mapping Office Lands Department, Hong Kong Government (1995).

References

Survey and 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

Examples

Run this code
### Conversion between HK1980GRID and WGS84UTM
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
#### at: http://www.geodetic.gov.hk/smo/tform/tform.aspx
#### 2471279, 205494

Run the code above in your browser using DataLab