It was never so easy to get YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

3D map with rayshader and ggplot2 in R

Follow
Milos Makes Maps

This tutorial shows you how to make POWERFUL spike maps of forest cover with rayshader and ggplot2 in R

0:00 Intro
2:19 Install rayshader & dependencies
6:32 Load packages
12:02 Get country polygon
18:40 Plot country polygon
18:56 Copernicus Global Land Cover website
21:21 Decipher URL structure
23:04 Cheat map
23:51 Sweden tiles
24:13 Make Sweden tile URLs
27:34 Download Sweden tiles
29:02 List of raster files
30:48 Raster files to mosaic
33:42 Plot raster mosaic
34:05 Crop raster mosaic
38:58 Plot cropped raster
39:18 Raster to dataframe
41:59 Breaks
45:29 Color palette in chroma.js
47:17 Create color palette
49:57 ggplot2 main layer
55:59 ggplot2 guides
01:00:05 ggplot2 theme
01:11:18 ggplot2 labs
01:12:51 Plot ggplot2 map
01:13:06 Access rayshader documentation
01:14:23 plot_gg documentation
01:20:36 Create scene in rayshader
01:24:35 Show scene 1st attempt
01:26:19 Recreate scene in rayshader
01:30:25 Show scene 2nd attempt
01:31:37 Render camera 1st take
01:32:15 Show camera render 1st take
01:32:31 Render camera 2nd take
01:32:48 Show camera render 2nd take
01:33:16 Render camera 3rd take
01:34:07 Show camera render 3rd take
01:34:35 Render camera 4th take
01:34:50 Show camera render 4th take
01:35:21 Access render_highquality documentation
01:35:54 render_highquality documentation
01:40:50 Render scene default
01:44:03 Show 1st rendered map
01:45:24 Render scene more light
01:46:21 Show 2nd rendered map
01:47:21 Light direction
01:48:40 Render scene light direction
01:49:12 Show 3rd rendered map
01:49:40 Light altitude
01:52:45 Render scene light altitude
01:53:29 Show 4th rendered map
01:54:33 Render scene multiple arguments
01:56:17 Show the final rendered map
01:57:36 Show all rendered maps
01:58:44 BONUS: annotate maps
02:11:58 Display annotated maps
02:12:34 Closing

Check the full code in my GitHub repo:
https://github.com/milosagathon/3df...

Follow my work on Instagram:
  / milos_makes_maps  

Let's connect on Twitter:
  / milos_agathon  

If you like my work, consider buying me a coffee:
https://www.buymeacoffee.com/milospop...

Music credits go to:
—————————————————————————————————
Music : Way Home by Tokyo Music Walker
Stream & Download : https://fanlink.to/tmw_way_home
Creative Commons — Attribution 3.0 Unported — CC BY 3.0

Onycs Shine · [Ambient / Dreamy Background Music]
"Everything seems to shine in this meditative state" Onycs

"Dj Quads It just makes me happy" is under a Creative Commons license (CC BYNCSA 3.0)
/ @djquadsofficial
Music promoted by BreakingCopyright: https://bit.ly/makesmehappysong

"Alex Productions Fashion" is under a Creative Commons (CCBY 3.0) license
Music promoted by BreakingCopyright: https://bit.ly/bkcfashion

Song: Sappheiros Embrace (Vlog No Copyright Music)
Music promoted by Vlog No Copyright Music.
Video Link:    • Sappheiros  Embrace (Vlog No Copyrig...  
—————————————————————————————————

posted by vileji8z