Tool Grid Proximity Buffer
This tool calculates the euclidian distance within a buffer distance from all NoData cells to the nearest valid neighbour in a source grid. Additionally, the source cells define the zones that will be used in the euclidean allocation calculations. Cell values in the source grid are treated as IDs (integer) and used in the allocation grid to identify the grid value of the closest source cell. If a cell is at an equal distance to two or more sources, the cell is assigned to the source that is first encountered in the tools scanning process. The buffer grid is a reclassification of the distance grid using a user specified equidistance to create a set of discrete distance buffers from source features. The buffer zones are coded with the maximum distance value of the corresponding buffer interval. The output value type for the distance grid is floating-point. The output values for the allocation and buffer grid are of type integer. The duration of tool execution is dependent on the number of source cells and the buffer distance.
- Author: Copyrights (c) 2006 by Volker Wichmann
- Menu: Grid|Distances
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Source Grid | Grid (input) | SOURCE | Grid with features to be buffered [Category/NoData] | - |
Output | Distance Grid | Grid (output) | DISTANCE | Grid with euclidian distance to nearest source cell [grid units] | - |
Allocation Grid | Grid (output) | ALLOC | Grid with category of nearest source cell [Category] | - |
Buffer Grid | Grid (output) | BUFFER | Reclassification of distance grid to buffer zones with a width equal to the equidistance value. | - |
Options | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Buffer distance | Floating point | DIST | Buffer distance (grid units). | Default: 500.000000 |
Equidistance | Integer | IVAL | Reclassify buffer distance to intervals of euqidistance ... | Default: 100 |
Command-line
Usage: saga_cmd grid_tools 10 [-SOURCE <str>] [-DISTANCE <str>] [-ALLOC <str>] [-BUFFER <str>] [-DIST <double>] [-IVAL <num>]
-SOURCE:<str> Source Grid
Grid (input)
-DISTANCE:<str> Distance Grid
Grid (output)
-ALLOC:<str> Allocation Grid
Grid (output)
-BUFFER:<str> Buffer Grid
Grid (output)
-DIST:<double> Buffer distance
Floating point
Default: 500.000000
-IVAL:<num> Equidistance
Integer
Default: 100