How to ensure satellite image correctly aligns with elevation model (DEM) in rayshader plot_3d plot
The below code gets the elevation data for an area in London and the equivalent Bing map. I plot the elevation code using rayshader and overlay the Bing map. However, they don't match up. This is because the Bing map dimensions don't match the rayshader map. I could change the dimensions via the width and height variables on the PNG function and get them to match using trial and error. However, I would like to do this programmatically. library(elevatr) library(rayshader) library(OpenStreetMap) #london bbox mapextent<-c(51.477482,-0.120438,51.527517,0.051910) #get elevation data elev_data <- ge
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.