This is an old revision of the document!
PHP's gd library is missing or unable to create PNG images
Calc Distance To Feature Map
Description
This functor calculates a map representing the frontage distance (in meters) between a cell and the closest cell representing a feature.
Inputs
Name | Type | Description |
---|---|---|
Source | Categorical Map | Map containing the features to which distances will be calculated. A feature is represented by a non-null value. Data cell type of this map must be compatible with “Signed 32 Bit Integer” or an error will be reported. |
Name | Type | Description | Default Value |
---|---|---|---|
Mask | Categorical Map | A map used to mask the distance calculation on its null cell areas. Data cell type of this map must be compatible with “Signed 32 Bit Integer” or an error will be reported. | None |
Cell type | Cell Type | Data cell type. | Signed 32 Bit Integer |
Null Value | Null Value | Null value of the distance map. | Default1) |
Truncate Distance | Bool | If true, distance values that exceed the greatest value of the output map will be truncated, instead of reporting an error. | False |
Ignore Unreachable Sources | Bool | If true, feature cells completely surrounded by other feature cells are ignored. | True |
Ignore Cross Inside Sources | Bool | If true, feature cells surrounded by other feature cells on the horizontal and vertical axis will be ignored. To have an effect, “Ignore Unreachable Sources” must also be true. | True |
Output
Name | Type | Description |
---|---|---|
Distance | Map | The distance map. The distances are represented in meters. Map format has the same dimensions of the source map. |
Group
Notes
The calculated distance is the Euclidean distance and the unit used is the meter.
The mask does not interfere with distance calculations to cells located beyond null cells.
Internal Name
CalcDistanceToFeatureMap
1)
Based on the given Cell Type input