Description Usage Arguments Value Note References Examples
To calculate the value for the function of M.
1 | M(x, y, digits = 4)
|
x |
Selection of Ellipsoid. |
y |
Latitude in radians. |
digits |
Number of digits the seconds are |
value
create data frame of epsg codes by epsg <- rgdal::make_EPSG()
https://github.com/OSGeo/PROJ & https://github.com/cran/rgdal
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Latitude
g <- -33
m <- 38
s <- 30.123456
rad_lat <- radians(g, m, s)
print(rad_lat)
# To know the ellipsoids and the order open the Ellipsoids in the package and look for it number
Ellip <- Ellipsoids
#View(Ellip)
# We choose the number 5 which is GRS80
value <- M(5, rad_lat, digits = 4)
print(value)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.