Skip to content

Latest commit

 

History

105 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI License: GPL v3

Elevation

r.earthworks

An add-on tool for computational terrain modeling in GRASS. This is the repository for development version. The stable release is in the GRASS Addons Repository. To learn more see the paper, documentation, and tutorials.

Installation

Install the stable release for GRASS 8.5 and above:

g.extension  extension=r.earthworks

Install the development version for GRASS 8.5 and above:

g.extension  extension=r.earthworks url=https://github.com/baharmon/r.earthworks

For older versions of GRASS, install r.earthworks-3.1.0. Download and unarchive this version from Zenodo. Then install with g.extension using the full file path to the extracted directory as the url.

curl -L "https://zenodo.org/records/21865092/files/baharmon/r.earthworks-3.1.0.zip?download=1" -O && unzip r.earthworks-3.1.0.zip
g.extension extension=r.earthworks operation=add url=baharmon-r.earthworks-284245b

Example

To grade a road crossing over a valley in the North Carolina sample dataset, run:

g.region n=217700 s=216200 w=639200 e=640700 res=10
r.earthworks elevation=elevation earthworks=earthworks lines=roadsmajor z=95 function=linear linear=0.25 operation=fill flat=25
r.contour input=earthworks output=contours step=2

Earthworks

Tutorials

Learn how model terrain with r.earthworks. With this tool you can generate new terrain or modify existing terrain using cut and fill operations inspired by earthworking. The first tutorial on the basics of terrain modeling introduces key concepts such as cut and fill operations. The subsequent tutorials introduce more advanced concepts such as relative operations and growth and decay functions. These tutorials demonstrate how to generate terrain, model natural landforms, and model anthropogenic landforms - i.e. earthworks - such as roads, dams, and levees. Read our paper to learn more.

Learn the basics of terrain modeling with r.earthworks.

Basic earthworks

Model gullies using relative cut operations.

Gully modeling

Model coastal infrastructure projects including levees and restored alluvial ridges.

Coastal infrastructure

Synthesize terrain by applying landforms from one landscape to another.

Terrain synthesis

About

A terrain modeling tool for the GRASS geocomputation engine

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages