R/HK1980GRID_TO_WGS84UTM.R

Defines functions HK1980GRID_TO_WGS84UTM

Documented in HK1980GRID_TO_WGS84UTM

HK1980GRID_TO_WGS84UTM <-
function(N, E){
    #### The unit for N and E is meter
    temp <- HK1980GRID_TO_HK80GEO(N, E)
    temp2  <- HK80GEO_TO_HK80UTM(temp$latitude, temp$longitude)
    res <- HK80UTM_TO_WGS84UTM(temp2$N, temp2$E, zone = temp2$zone)
    return(res)
}

Try the HK80 package in your browser

Any scripts or data that you put into this service are public.

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