An add-on module for computational terrain modeling in GRASS GIS. This is the repository for development version. The stable release is in the GRASS Addons Repository. To learn more see the documentation.
Install the stable release:
g.extension extension=r.earthworks
Install the development version:
g.extension extension=r.earthworks url=https://github.com/baharmon/r.earthworks
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 rate=0.25 operation=fill flat=25
r.contour input=earthworks output=contours step=2
Elevation | Earthworks |
---|---|
![]() |
![]() |