Skip to main content

Distance Surface

Demonstrates a distance-propagation algorithm that calculates the minimum distance from any cell to a source layer (e.g. roads or streams). The technique spreads outward from source locations in a wave-like pattern, with each cell storing both its distance from source and the nearest source location — an example of spatial analysis through iterative neighbourhood spreading.

Adapted from the SELES wiki.