##Welcome to the Homepage of HK80
What is it?
It is an R package for converting HK80 (Hong Kong 1980 geographical coordinating system) to WGS84 and UTM coordinating systems and vice versa.
How to install:
If you are using Windows, install R from a CRAN mirror:
https://cran.r-project.org/mirrors.html
From Start > Program Files > RGui
you can type the R code from the command line.
to install the package, type the following code to command line:
install.packages("HK80")
or install the most updated version from github
library(devtools)
install_github("helixcn/HK80")
How to use?
To load the package HK80 into the current session, please use the following R code
library(HK80)
To see the help file of this package, please type:
?HK80
List of functions available in this package:
HK80-package
:Conversion Tools for HK80 Geographical Coordinate SystemHK1980GRID_TO_HK80GEO
:Convert HK1980GRID coordinates to HK80GEO coordinatesHK1980GRID_TO_HK80UTM
:Convert HK1980GRID coordinates to HK80UTM coordinatesHK1980GRID_TO_WGS84GEO
:Convert HK1980GRID coordinates to WGS84GEO coordinatesHK1980GRID_TO_WGS84UTM
:Convert HK1980GRID coordinates to WGS84UTM coordinatesHK80GEO_TO_HK1980GRID
:Convert the HK80GEO coordinates to HK1980GRID coordinatesHK80GEO_TO_HK80UTM
:Convert HK80 geographical coordinates to HK80 UTM coordinatesHK80GEO_TO_WGS84GEO
:Convert HK80GEO coordinates to WGS84GEO coordinatesHK80GEO_TO_WGS84UTM
:Convert the HK80GEO coordinates to WGS84UTM coordinatesHK80UTM_TO_HK1980GRID
:Convert HK80UTM coordinates to HK1980GRID coordinatesHK80UTM_TO_HK80GEO
:Convert the HK80UTM coordinates to HK80GEO coordinatesHK80UTM_TO_WGS84GEO
:Convert HK80UTM coordinates to WGS84GEO coordinatesHK80UTM_TO_WGS84UTM
:Convert HK80UTM coordinates to WGS84UTM coordinatesWGS84GEO_TO_HK1980GRID
:Covert WGS84GEO geographical coordinates TO HK1980GRID coordinatesWGS84GEO_TO_HK80GEO
:Convert WGS84GEO coordinates to HK80GEO coordinatesWGS84GEO_TO_HK80UTM
:Convert WGS84GEO coordinates to HK80UTM coordinatesWGS84GEO_TO_WGS84UTM
:Convert WGS84GEO coordinates to WGS84UTM coordinatesWGS84UTM_TO_HK1980GRID
:Convert WGS84UTM coordinates to HK1980GRID coordinatesWGS84UTM_TO_HK80GEO
:Convert WGS84UTM coordinates to HK80GEO coordinatesWGS84UTM_TO_HK80UTM
:Convert WGS84UTM coordinates TO HK80UTM coordinatesWGS84UTM_TO_WGS84GEO
:Covert WGS84UTM coordinates to WGS84GEO coordinates
To see the help of each function, please type
?nameofthefunction
, example:
?WGS84GEO_TO_HK80UTM
To run the example of the corresponding function, copy the R code in the Example section of each help page to the R command Line.
Questions, Comments or Suggestions:
Feel free to send an email regarding to this package to Jinlong Zhang jinlongzhang01@gmail.com