Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
calc_distance_map [2011/07/24 19:16]
hermann created
calc_distance_map [2020/02/13 15:19] (current)
admin
Line 7: Line 7:
 ===== Inputs ===== ===== Inputs =====
  
-^ Name            ^ Type                                       ​^ Description ​                                                                                                                       +^ Name  ^ Type  ^ Description ​ 
-| Categorical Map | [[Categorical Map Type | Categorical Map]] | Map of classes or categories. Null value cells on this map will produce the same null value cells on the resulting distance map. Data cell type of this map must be " +| Categorical Map | [[Categorical Map Type]] | Map of classes or categories. Null value cells on this map will produce the same null value cells on the resulting distance map. Data cell type of this map must be "​Signed 32 Bit Integer"​ or an error will be reported. | 
-Signed 32 Bit Integer"​ or an error will be reported. | +| Categories ​ | [[Int Set Type]] ​ | List of categories. Distance maps are calculated for these categories. Each category corresponds to a layer "distance_to_i" ​where i is an identifier of a category on the input map.  |
-| Categories ​     | [[Int Set Type | Int Set]]                 ​| List of categories. Distance maps are calculated for these categories. Each category corresponds to a layer "distance_to_i&​quot;, ​where i is an identifier of a category on the input map. +
-                                                     |+
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-^ Name              ^ Type                            ^ Description ​                                                                                                                ​^ Default Value          +^ Name  ^ Type  ^ Description ​  ​^ Default Value  
-| Cell Type         ​| [[Cell Type Type | Cell Type]] ​ | Data cell type.                                                                                                             ​| Signed 32 Bit Integer ​ | +| Cell Type  | [[Cell Type Type]] ​ | Data cell type.  | Signed 32 Bit Integer ​ | 
-| Null Value        | [[Int Type | Int]]              | Null value of the distance map.                                                                                             ​| -2147483648 ​           +| Null Value  | [[Integer Value Type]] ​ | Null value of the distance map.  | -2147483648 ​ 
-| Truncate Distance | [[Bool Type | Bool]]            | If true, distance values that exceed the greatest value of the output map will be truncated, instead of informing an error. | False. ​                ​|+| Truncate Distance ​ | [[Boolean Value Type]] ​ | If true, distance values that exceed the greatest value of the output map will be truncated, instead of informing an error. ​ | False. ​ |
  
 ===== Outputs ===== ===== Outputs =====
  
-^ Name      ^ Type                ^ Description ​                                                                                                            ​+^ Name  ^ Type  ^ Description ​ 
-| Distance ​ | [[Map Type | Map]]  | The distance map. The distances are represented in meters. Map format has the same dimensions of the "​Categorical Map". |+| Distance ​ | [[Map Type]] ​ | The distance map. The distances are represented in meters. Map format has the same dimensions of the "​Categorical Map". |
  
 ===== Group ===== ===== Group =====
  
-Map Algebra+[[Functor List#Map Algebra ​| Map Algebra]]
  
 ===== Notes ===== ===== Notes =====
  
-The calculated distance is the Euclidean distance and the unit used is the meter.+The calculated distance is the [[wp>​Euclidean_distance|Euclidean distance]] and the unit used is the meter. 
 + 
 +The output map has layers named "​distance_to_X",​ where X is the value of category for which the distances are being calculated. For instance, if the distance is being calculated for categories 2 and 13, the output map will have two layers named "​distance_to_2"​ and "​distance_to_13"​. 
  
 ===== Internal Name ===== ===== Internal Name =====