Learn R Programming

GeodesiCL (version 1.0.0)

geodis: Reduction of the horizontal distance to the Ellipsoid.

Description

With this function it is possible to perform a reduction of the horizontal distance to the Ellipsoid.

Usage

geodis(Data_fm, digits = 4)

Arguments

Data_fm

Point name, Ellipsoidal height and Horizontal distance as dataframe.

digits

Number of digits the seconds are rounded to. DEFAULT: 4

Value

data.frame with the data in the following order: "Pt", "Kh(h)", "GEODESIC DISTANCE".

Examples

Run this code
# NOT RUN {
# Point name
Pto <- "St1"

# Ellipsoidal height
h <- 2500

# Horizontal distance
Dhz <- 728.5

# Ellipsoidal height and Horizontal distance as data.frame
Ellips_Horzdist_df <- data.frame(Pto, h, Dhz)

value <- geodis(Ellips_Horzdist_df, digits = 4)
print(value)
# }

Run the code above in your browser using DataLab