MyNixOS website logo
Description

Conversion Tools for HK80 Geographical Coordinate System.

This is a collection of functions for converting 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).

##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 System
  • HK1980GRID_TO_HK80GEO:Convert HK1980GRID coordinates to HK80GEO coordinates
  • HK1980GRID_TO_HK80UTM:Convert HK1980GRID coordinates to HK80UTM coordinates
  • HK1980GRID_TO_WGS84GEO:Convert HK1980GRID coordinates to WGS84GEO coordinates
  • HK1980GRID_TO_WGS84UTM:Convert HK1980GRID coordinates to WGS84UTM coordinates
  • HK80GEO_TO_HK1980GRID:Convert the HK80GEO coordinates to HK1980GRID coordinates
  • HK80GEO_TO_HK80UTM:Convert HK80 geographical coordinates to HK80 UTM coordinates
  • HK80GEO_TO_WGS84GEO:Convert HK80GEO coordinates to WGS84GEO coordinates
  • HK80GEO_TO_WGS84UTM:Convert the HK80GEO coordinates to WGS84UTM coordinates
  • HK80UTM_TO_HK1980GRID:Convert HK80UTM coordinates to HK1980GRID coordinates
  • HK80UTM_TO_HK80GEO:Convert the HK80UTM coordinates to HK80GEO coordinates
  • HK80UTM_TO_WGS84GEO:Convert HK80UTM coordinates to WGS84GEO coordinates
  • HK80UTM_TO_WGS84UTM:Convert HK80UTM coordinates to WGS84UTM coordinates
  • WGS84GEO_TO_HK1980GRID:Covert WGS84GEO geographical coordinates TO HK1980GRID coordinates
  • WGS84GEO_TO_HK80GEO:Convert WGS84GEO coordinates to HK80GEO coordinates
  • WGS84GEO_TO_HK80UTM:Convert WGS84GEO coordinates to HK80UTM coordinates
  • WGS84GEO_TO_WGS84UTM:Convert WGS84GEO coordinates to WGS84UTM coordinates
  • WGS84UTM_TO_HK1980GRID:Convert WGS84UTM coordinates to HK1980GRID coordinates
  • WGS84UTM_TO_HK80GEO:Convert WGS84UTM coordinates to HK80GEO coordinates
  • WGS84UTM_TO_HK80UTM:Convert WGS84UTM coordinates TO HK80UTM coordinates
  • WGS84UTM_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[email protected].

Metadata

Version

0.0.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows