Suppose you have a polygon map and a raster map Landuse with domain Landuse. The maps have an attribute table Landuse; the attribute table also uses domain Landuse.
A histogram can be created both for the polygon map Landuse as well as for the raster map Landuse; both histograms will contain a column Area which are the areas of all classes in polygon map Landuse and raster map Landuse. The histograms use domain Landuse which is also the domain of the map.
To join Area values from a polygon histogram into an attribute table:
When you wish to use the Join Column wizard:
When you wish to type an expression on the command line:
LandArea = Landuse.hsa.Area
or
LandArea = ColumnJoin(Landuse.hsa, Area)
where:
LandArea |
is the new column in the attribute table |
Landuse.hsa |
is the polygon histogram of polygon map Landuse, it stores a column Area. |
Area |
is the column in Landuse.hsa that you wish join into the attribute table. |
To join Area values from a raster histogram into an attribute table:
You can use practically the same procedure as described above. The only differences are:
LandArea = Landuse.his.Area
or
LandArea = ColumnJoin(Landuse.his, Area)
where:
Landuse.his |
is the raster histogram of raster map Landuse, it stores a column Area. |
Example:
Polygon histogram of polygon map Landuse:
Attribute table Landuse with joined column LandArea:
See also: