Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
extract_map_attributes [2012/03/06 23:03]
admin
extract_map_attributes [2016/05/11 17:40] (current)
hermann [Basic Attributes]
Line 7: Line 7:
 ===== Inputs ===== ===== Inputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
-| Map  | [[Map Type|Map]]  | Map whose attributes will be extracted. ​ |+| Map  | [[Map Type]] ​ | Map whose attributes will be extracted. ​ |
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-^ Name ^ Type ^ Description ^ Default Value ^ +^ Name  ^ Type  ^ Description ​ ^ Default Value  
-| Extract Dynamic Attributes ​ | [[Bool Type|Bool ]]  | If true, the dynamic attributes will be calculated. | True  | +| Extract Dynamic Attributes ​ | [[Boolean Value Type]] ​ | If true, the [[Extract Map Attributes#​Dynamic attributes|dynamic attributes]] will be calculated. ​ | True  | 
-| Extract Statistical Attributes ​ | [[Bool Type|Bool ]]  | If true, statistical attributes will be calculated. | False  |+| Extract Statistical Attributes ​ | [[Boolean Value Type]] ​ | If true, [[Extract Map Attributes#​Statistical attributes|statistical attributes]] will be calculated. ​ True  |
  
 ===== Outputs ===== ===== Outputs =====
  
-^ Name ^ Type ^ Description ^ +^ Name  ^ Type  ^ Description ​ 
-| Attributes | [[Lookup Table Type|Lookup Table ]]  | Table containing the attributes extracted from a map. |+| Attributes ​ | [[Lookup Table Type]] ​ | Table containing the attributes extracted from a map.  | 
 +| Layer Attributes ​ | [[Table Type]] ​ | Table containing the layer attributes.  ​|
  
 ===== Group ===== ===== Group =====
Line 43: Line 44:
 | 6  | "​cellWidth" ​ | cell width (in meters) ​ | | 6  | "​cellWidth" ​ | cell width (in meters) ​ |
 | 7  | "​cellArea" ​ | cell area (in hectares) ​ | | 7  | "​cellArea" ​ | cell area (in hectares) ​ |
-| 19  | "​cellType" ​ | [[Extract Map Attributes#​Cell Type Codes|cell type code]]((**[Dinamica 1.9.x]**)) ​ | +| 19  | "​cellType" ​ | [[Extract Map Attributes#​Cell Type Codes|cell type code]] ​ | 
-| 20  | "​nullValue" ​ | null value((**[Dinamica 1.9.x]**))  |+| 20  | "​nullValue" ​ | null value  | 
 +| 21  | "​registrationCoordinateY" ​ | registration coordinate Y (this is the coordinate of the top left corner of the registered cell)  | 
 +| 22  | "​registrationCoordinateX" ​ | registration coordinate X (this is the coordinate of the top left corner of the registered cell | 
 +| 23  | "​registrationCellY" ​ | coordinate of registration cell Y  | 
 +| 24  | "​registrationCellX" ​ | coordinate of registration cell X  | 
 +| 25  | "​rotationY" ​ | rotation around Y  | 
 +| 26  | "​rotationX" ​ | rotation around X  | 
 +| 27  | "​originalCellHeight" ​ | cell height (cell height from projection - the unit is projection dependent) ​ | 
 +| 28  | "​originalCellWidth" ​ | cell width (cell height from projection - the unit is projection dependent)  |
  
 ==== Dynamic attributes ==== ==== Dynamic attributes ====
Line 67: Line 76:
 ==== Cell Type Codes ==== ==== Cell Type Codes ====
  
-The codes used to represent all the possible [[cell_type_type|cells types]] are listed below:+The codes used to represent all the possible [[cell_type_type|cells types]], corresponding to attribute key 19 ("​cellType"​), ​are listed below. It is possible to convert the corresponding code back into a [[Cell Type Type|Cell Type]].
  
 ^ Key  ^ Cell Type  ^  ^ Key  ^ Cell Type  ^ 
Line 78: Line 87:
 | 6  | Unsigned 32 Bit Integer ​ | | 6  | Unsigned 32 Bit Integer ​ |
 | 7  | IEEE 754 32 Bit Real  | | 7  | IEEE 754 32 Bit Real  |
 +| 8  | IEEE 754 64 Bit Real  |
  
 +==== Layer Attributes ====
 +
 +The layer attributes((Currently,​ only the layer name is the only layer specific attribute returned.)) are returned in a second table. This table has the following format.
 +
 +^ Column Name  ^ Key or Data?  ^ Column Type  ^ Description ​ ^
 +| "​Layer_Index" ​ | Key  | Real  | The index of the corresponding layer  |
 +| "​Layer_Name" ​ | Key  | String ​ | The name of the corresponding layer  |
 + 
 ===== Internal Name ===== ===== Internal Name =====
  
 ExtractMapAttributes ExtractMapAttributes