Distance Analysis#

The distance module contains functions for carrying out distance analysis. Currently this is limited to 2D and 3D cost distance analysis and 2D proximity analysis.

Cost Distance Operations#

cost_distance_analysis(costs, sources[, ...])

Calculate accumulated cost distance, traceback, and allocation.

cda_allocation(costs, sources[, elevation])

Calculate just the cost distance allocation for a cost surface.

cda_cost_distance(costs, sources[, elevation])

Calculate just the cost distance for a cost surface

cda_traceback(costs, sources[, elevation])

Calculate just the cost distance traceback for a cost surface.

Proximity Operations#

proximity_analysis(raster[, target_values, ...])

Compute the proximity, allocation, and direction for a given source raster.

pa_allocation(raster[, target_values, ...])

Compute the proximity allocation of each cell to the closest source cell.

pa_direction(raster[, target_values, ...])

Compute the direction of each cell to the closest source cell.

pa_proximity(raster[, target_values, ...])

Compute the proximity of each cell to the closest source cell.