USEPA / elevatr

An R package for accessing elevation data
Other
203 stars 26 forks source link

transform locations if prj supplied and location has NULL/NA crs #89

Open jhollist opened 1 year ago

jhollist commented 1 year ago

Example:

library(elevatr)
library(rgeoboundaries)
library(rgdal)

swiss_bound <- rgeoboundaries::geoboundaries("Switzerland")
elevation_data <- get_elev_raster(locations = swiss_bound, z = 10, prj=4326) #should work...