Sign in to confirm you’re not a bot
This helps protect our community. Learn more
italy-forest-cover Sticker
$5.99
Italy is a country of forests, where green canopies cover almost a third of its land. Data: Copernicus Global Land Service: Land Cover 100m PVC material with sun protection and waterproof. No decolorization. No fade. Tears off without leaving traces. Perfect to personalize laptops, skateboards, bikes, luggage, bedroom.
austria-forest-cover Sticker
$5.99
Austria is a country of forests, covering almost half of its land area123. Its forests are diverse and dynamic, changing over time due to natural and human factors. Data: Copernicus Global Land Service: Land Cover 100m PVC material with sun protection and waterproof. No decolorization. No fade. Tears off without leaving traces. Perfect to personalize laptops, skateboards, bikes, luggage, bedroom.
balkans-forest-cover Die Cut Sticker
$6.99
The forests of the Balkans peninsula are a treasure of biodiversity and beauty, ranging from the lush greenery of the coastal areas to the alpine and boreal species of rugged mountain peaks. Data: Copernicus Global Land Service: Land Cover 100m PVC material with sun protection and waterproof. No decolorization. No fade. Tears off without leaving traces. Perfect to personalize laptops, skateboards, bikes, luggage, bedroom.
portugal-forest-cover Die Cut Sticker
$6.99
Portugal is a land of contrasts, where the green forests of the north give way to the rugged mountains of the center and the arid plains of the south. Data: Copernicus Global Land Service: Land Cover 100m PVC material with sun protection and waterproof. No decolorization. No fade. Tears off without leaving traces. Perfect to personalize laptops, skateboards, bikes, luggage, bedroom.
south-america-forest-cover Sticker
Limited stock
The Amazon is a treasure trove of biodiversity, with millions of species of plants, animals, and insects living in its lush green canopy but there are also the Guianas, the Atlantic forests, and the Chocó, each with their own unique flora and fauna PVC material with sun protection and waterproof. No decolorization. No fade. Tears off without leaving traces. Perfect to personalize laptops, skateboards, bikes, luggage, bedroom.
europe-forest-cover Sticker
$6.99
Europe is a continent of forests, where green canopies cover almost half of its land123. Its forests are diverse and dynamic, changing over time due to natural and human factors. Data: Copernicus Global Land Service: Land Cover 100m PVC material with sun protection and waterproof. No decolorization. No fade. Tears off without leaving traces. Perfect to personalize laptops, skateboards, bikes, luggage, bedroom.

Intro

0:00

Install rayshader & dependencies

2:19

Load packages

6:32

Get country polygon

12:02

Plot country polygon

18:40

Copernicus Global Land Cover website

18:56

Decipher URL structure

21:21

Cheat map

23:04

Sweden tiles

23:51

Make Sweden tile URLs

24:13

Download Sweden tiles

27:34

List of raster files

29:02

Raster files to mosaic

30:48

Plot raster mosaic

33:42

Crop raster mosaic

34:05

Plot cropped raster

38:58

Raster to dataframe

39:18

Breaks

41:59

Color palette in chroma.js

45:29

Create color palette

47:17

ggplot2 - main layer

49:57

ggplot2 - guides

55:59

ggplot2 - theme

1:00:05

ggplot2 - labs

1:11:18

Plot ggplot2 map

1:12:51

Access rayshader documentation

1:13:06

plot_gg documentation

1:14:23

Create scene in rayshader

1:20:36

Show scene - 1st attempt

1:24:35

Re-create scene in rayshader

1:26:19

Show scene - 2nd attempt

1:30:25

Render camera - 1st take

1:31:37

Show camera render - 1st take

1:32:15

Render camera - 2nd take

1:32:31

Show camera render - 2nd take

1:32:48

Render camera - 3rd take

1:33:16

Show camera render - 3rd take

1:34:07

Render camera - 4th take

1:34:35

Show camera render - 4th take

1:34:50

Access render_highquality documentation

1:35:21

render_highquality documentation

1:35:54

Render scene - default

1:40:50

Show 1st rendered map

1:44:03

Render scene - more light

1:45:24

Show 2nd rendered map

1:46:21

Light direction

1:47:21

Render scene - light direction

1:48:40

Show 3rd rendered map

1:49:12

Light altitude

1:49:40

Render scene - light altitude

1:52:45

Show 4th rendered map

1:53:29

Render scene - multiple arguments

1:54:33

Show the final rendered map

1:56:17

Show all rendered maps

1:57:36

BONUS: annotate maps

1:58:44

Display annotated maps

2:11:58

Closing

2:12:34
3D map with rayshader and ggplot2 in R
528Likes
13,515Views
2023Apr 27
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 Re-create 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/milos-agathon/3d-f... 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 BY-NC-SA 3.0) / @djquadsofficial Music promoted by BreakingCopyright: https://bit.ly/makes-me-happy-song "Alex Productions - Fashion" is under a Creative Commons (CC-BY 3.0) license Music promoted by BreakingCopyright: https://bit.ly/bkc-fashion Song: Sappheiros - Embrace (Vlog No Copyright Music) Music promoted by Vlog No Copyright Music. Video Link:    • Sappheiros - Embrace (Vlog No Copyrig...   —————————————————————————————————

Follow along using the transcript.

Milos Makes Maps

18.9K subscribers