Tanaka

Day 23 of 30DayMapChallenge
R
30DayMapChallenge
spatial
datavisualization
Author

Michaël

Published

2023-11-23

Modified

2023-11-23

A photo of Mount Fuji volcano

Mount Fuji sunrise – CC-BY-NC-ND by Gilbert Sopakuwa

Day 23 of 30DayMapChallenge: « 3D » (previously).

The Tanaka contours (Tanaka 1950) are a method of displaying 3D as a succession of terraces.

library(elevatr)
library(terra)
library(tanaka)
ele <-  get_elev_raster(data.frame(x = 138.727350,
                                   y =  35.360681),
                        prj = "EPSG:4326",
                        z = 10) |> 
  as("SpatRaster")
par(mar = c(0,0,0,0))

tanaka(ele, 
       breaks = 1:14*250,
       legend.pos = "right",
       shift = 0.001,
       legend.title = "富士山\nElevation (m)",
       col = viridis::magma(n = 15),
       add = FALSE)
Map of Mount Fuji in Tanaka style
Figure 1: Mount Fuji

References

Tanaka, Kitiro. 1950. “The Relief Contour Method of Representing Topography on Maps.” Geographical Review 40 (3): 444–56. https://doi.org/10.2307/211219.