R/WGS84GEO_TO_HK80GEO.R

Defines functions WGS84GEO_TO_HK80GEO

Documented in WGS84GEO_TO_HK80GEO

WGS84GEO_TO_HK80GEO <-
function(latitude, longitude){
    #### The latitude and longitude should be both in decimal format. 
    lat <- latitude + 5.5/3600
    long <- longitude - 8.8/3600
    res <- data.frame(latitude = lat, longitude = long)
    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.