I am trying out @tylermorganwall Rayshader R library. Some instructions are given here by tylermw8 to get elevation data from the USGS National Map.
I am interested in obtaining data around the Golden Gate Bridge. The data I download from from USGS National Map (n38w123) is, I believe, a one degree square tile which is 60 miles N/S and about 53 miles W/E. That's too much data for playing around with his rayshader library.
The bounding square of interest is:
(37.88, -122.56) (37.88, -122.41)
(37.77, -122.56) (37.77, -122.41)
How do I 'cut' this elevation data out of the large download from USGS? Is this where the library(sf) comes in handy?
raster
package to crop large rasters to small extents. Show some of your code to show what you've done so far.