[This article was first published on r.iresmi.net, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

A photo of the Porcupine River in the Yukon Flats

Porcupine River – public domain by David Spencer, FWS

Day 20 of 30DayMapChallenge: « Outdoors » (previously). Get some fresh air in Alaska!




You can browse several DEM datasets on https://elevation.alaska.gov/#66.53733:-145.25385:13. Yukon Flats by Lidar look promising…

dtm_file <- "yukon_flats_usgs_2pt5_dtm.tif"

if (!file.exists(dtm_file)) {


rast(dtm_file) |> 
  crop(ext(572000, 582000, 7370000, 7380000)) |> 
  plot(col = rev(magma(256)), axes = FALSE, smooth = TRUE, legend = FALSE)

Colorized Digital Elevation Model of Yukon Flats.

Figure 1: Yukon Flats. Data: USGS/Aero-Metric
To leave a comment for the author, please follow the link and comment on their blog: r.iresmi.net.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)