calculate_distance
This is an old revision of the document!
Calculate distance to specific cell type
This script calculates the distance from each cell to the nearest cell of a specific type (e.g. a road).
The script can be used used in the Habitat suitability and Carbon storage and wood production examples, to calculate the distance to roads (node Distance_road) directly in gBay.
Download the carbon sequestration network and spatial data to run the network with gBay.
Input:
- discrete raster (1 band for each state)
- number of the state of interest (e.g. roads = state number 0)
Output:
- hard evidence on a continuous node
calculate_distance.1551178724.txt.gz · Last modified: 2023/04/21 15:30 (external edit)