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. Default: NULL

verbose

Logical controlling the generation of progress messages.

Value

Numeric elevation value.

References

https://geoservices.tamu.edu/Services/ReverseGeocoding/WebService/v04_01/HTTP.aspx

Examples

if (FALSE) { library(MazamaLocationUtils) # Set up standard directories and spatial data spatialDataDir <- tempdir() # typically "~/Data/Spatial" mazama_initialize(spatialDataDir) # Wenatchee longitude <- -122.47 latitude <- 47.47 apiKey <- YOUR_PERSONAL_API_KEY location_getSingleAddress_TexasAM(longitude, latitude, apiKey) }