milos-agathon / 3d-river-maps

Explore the capabilities of the `rayshader` package in R with my new tutorial. I'll guide you through the process of creating detailed 3D elevation and river maps for any country. This step-by-step tutorial is perfect for anyone looking to enhance their mapping skills with powerful visualization tools. 🌍🖥️
17 stars 1 forks source link

Error in do.call(rbind, x) : second argument must be a list #1

Open lbarqueira opened 5 months ago

lbarqueira commented 5 months ago

Hi Milos, thank you very much for this amazing tutorial.

While trying to reproduce you Iberian.R code it fails with the following error, when running elevatr::get_elev_raster():

Error in do.call(rbind, x) : second argument must be a list

Could you pelase share your sessionInfo() to compare?

Thanks and best regards,

Luis

milos-agathon commented 1 month ago

Hi Luis, I found the solution: pass sf::st_as_sf() to the last line of your code where you call the shape file and rerun the code.