It’s taken me too long to try out rayshader’s new ggplot feature and obviously when I got around to it, I was going to find a way to use geoviz. Here’s a quick code snippet to draw a stylised hexbin elevation map of the UK, that’s easily changed to anywhere else in the world that…
Category: geoviz

5 minutes to Hawaii in 3D with Rayshader and Geoviz
This one’s a vignette from the geoviz package, but vignettes are easy to miss so I’m putting it on Hilltop Analytics too. A quick geoviz and rayshader code snippet that draws Hawaii with a Stamen Maps overlay. No API keys needed for this one, run the code below and you’re there! library(geoviz) library(rayshader) # Coordinates…

Visualising the London Marathon route with R, rayshader and geoviz
If you’ve been reading my recent posts, you might have already played with geoviz, that makes it easy to draw rayshader scenes in R. Recently we learned how to quickly draw any location you like in rayshader and to add GPS tracks. What if you want to draw a scene with data that doesn’t come…

Adding GPS tracks to rayshader scenes with geoviz
Welcome to part 2 of how geoviz can help you to quickly draw 3D scenes using the rayshader package. If you haven’t read part 1 yet, you might want to start here. Still reading? Then let’s put some GPS data in a rayshader scene! You can use any GPS data that you want, but depending…

I can see my house from here! Your favourite places in 3D with R, rayshader and geoviz.
I’ve spent plenty of time recently with Tyler Morgan Wall‘s rayshader R package, learning a lot about visualising geographic data along the way. I fly paragliders and early on in my exploration, put together a few helper functions to add gps traces from glider flights to rayshader scenes and to make it easier to prepare…