Skip to content
Anna Petrasova edited this page Oct 2, 2019 · 3 revisions

Example activities

To get the set of simple activities to run with Tangible Landscape, you can download them from GitHub:

git clone https://github.com/tangible-landscape/tangible-landscape-applications

When you open Tangible Landscape plugin, go to tab Activities and browse to tangible-landscape-applications/sample/config.json. At this point we assume Tangible Landscape is already setup with a model and working. Note: the activities assume there is reference DEM called dem. If not, rename your DEM, or change the name in the config.json file.

Start scanning and then start the first activity. Layers should be loaded and you should be able to see the projected layers. When you want to stop it, press Stop activity and switch to the next one. Wait couple seconds before the next activity to finish processing. If Calibrate button is present, press it and wait - this scans a raster used for processing later (for trails activity).

The set of activities include the following geospatial analysis and can be run with any model (as long as raster dem is present). Upon loading each activity for the first time, GRASS GIS will complain because some of the layers won't exist, but that resolves after couple seconds.

Topography (DEM + contours)

Contours and DEM

Topographic slope

Slope

Aspect

Aspect

Landforms

Requires to install a GRASS GIS addon:

g.extension r.geomorphon

Landforms

Water flow

Combines rainfall simulation and depression finding to simulate ponding

Water flow

Difference (cut & fill)

Displays difference between the scanned DEM and the base DEM raster. Can be used to build the model - red means remove sand, blue means add sand. Adjustments of the color ramp may be needed for particular model. Also see Model-making.

Difference

Trail

This one is more complicated, you need to have markers to create trail checkpoint. The algorithm computes least cost path between the checkpoints based on walking energy and displays the steepness along the trails and a profile. To detect the markers, thresholds may need to be adjusted in change_detection function call in trails.py.

Trails

Notes

To adjust behavior of an activity, got to the downloaded folder and find a Python file. You can edit it while Tangible Landscape activity is running, once it's saved, the new behavior will be adopted.