#elevatr

Aditya Dahiyaadityadahiya
2025-02-06

Comparing hill-shade maps in R using {terra} vs. {whitebox} - along with impressive effects of {ggblend}. Example code for Sikkim in .
Data: by US EPA
Full Codeđź”—tinyurl.com/maps-shaded
Tools: , , by @mjskay , by Qiusheng Wu

Comparing the outcomes of {terra} generated shaded maps vs. the {whitebox} generated maps. The first row shows the base elevation raster and {terra} outputs (uni-directional, multi-directional and blended multi-directional), while second row shows the {whitebox} outputs (An RGB hypso-tinted raster, uni-directional, multi-directional and blended multidirectional.
Aditya Dahiyaadityadahiya
2025-02-03

Code experimenting with package {hillshader} by @pierreroudier - a wrapper around - quick code to plot hilly regions in
Full Codeđź”—tinyurl.com/hill-sikkim
Tools: by @dhernangomez by USEPA

This visualization showcases the impact of varying sun angles and altitudes on hillshade maps of Sikkim, India, using the {hillshader} package. The top-left map represents the original elevation data, while the remaining five maps illustrate different shading effects based on changes in sunangle (direction of sunlight) and sunaltitude (height of the sun above the horizon). By adjusting these parameters, the perception of terrain depth and structure changes, highlighting how light sources influence the visualization of topography.
💧🌏 Greg CocksGregCocks@techhub.social
2023-07-22
2023-05-30

Latest release for #elevatr #rstats package is out. Small updates and a bug fix. Bigger changes (e.g. #sf and #terra) on the horizon!

cran.r-project.org/web/package

2022-11-27

Do you like to make maps like me or do you want to learn how to make them? I found some tutorials for those interested in making beautiful maps using R. They are free access and very understandable.

#R #Rcoding #ggplot2 #codingisfun #tidyverse #terra #osmdata #httr #XML #codinglife #giscoR #metr #elevatr #sundaymood

Link: milospopovic.net/blog

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst