R/find_utm_hemisphere.R

Defines functions find_utm_hemisphere

Documented in find_utm_hemisphere

################################################################################
#
#' Find UTM hemisphere based on a longitude and latitude GPS location.
#'
#' @param lat Latitude coordinate
#'
#' @return Either \code{north} or \code{south}
#'
#' @examples
#' #
#'
#' @export
#'
#
################################################################################

find_utm_hemisphere <- function(lat) {
  ifelse(lat > 0, "north", "south")
}
validmeasures/spatialsampler documentation built on Oct. 16, 2021, 3:15 a.m.