Texas A&M APIs are used to determine the address associated with the longitude and latitude.

location_getSingleAddress_TexasAM(
  longitude = NULL,
  latitude = NULL,
  apiKey = NULL,
  verbose = TRUE
)

Arguments

longitude

Single longitude in decimal degrees E.

latitude

Single latitude in decimal degrees N.

apiKey

Texas A&M Geocoding requires an API key. The first 2500 requests are free.

verbose

Logical controlling the generation of progress messages.

Value

Numeric elevation value.

Examples

if (FALSE) {
library(MazamaLocationUtils)

# Fail gracefully if any resources are not available
try({

  # Wenatchee
  longitude <- -122.47
  latitude <- 47.47
  apiKey <- YOUR_PERSONAL_API_KEY

  location_getSingleAddress_TexasAM(longitude, latitude, apiKey)
  
}, silent = FALSE)
}