powered by
With this function it is possible to convert separated data in Degrees Minutes and Seconds to Decimal degrees.
sexagesimal(x, y, z, digits = 4)
Value of Degree in Latitude or Longitude.
Value of Minute in Latitude or Longitude.
Value of Seconds in Latitude or Longitude.
Number of digits the seconds are rounded to. DEFAULT: 4
rounded
value
# NOT RUN { # Latitude g <- -33 m <- 38 s <- 30.123456 value <- sexagesimal(g, m, s, digits = 4) print(value) # }
Run the code above in your browser using DataLab