Appendices

ILWIS operations

 

VISUALIZATION

Show Map

Show a map in a new map window.

Show Table

Show a table in a table window.

Show Map List as Color Composite

Display three images, or other raster maps with a value domain, present in a map list as a color composite. You will show an Interactive color composite.

By using an interactive color composite, you can easily change intervals, select other bands, etc. The resulting color composite is displayed in a map window which can be saved as a map view. Interactive color composites are very suitable to be used as a background during sampling or during screen digitizing.
Your graphics board needs to be configured to use more than 256 colors, for instance High Color 16-bit, or True Color 24-bit (see Display Settings in Windows' Control Panel).

A permanent color composite can always be created with the Color Composite operation on the Operations, Image Processing menu.

Show Map List as Slide Show

Show multiple raster maps which are combined in a map list, one after the other in a map window at a user-specified rate. You will show a Slide Show. This visualization technique is designed to present multi-temporal changes in maps. All maps in the map list must use the same domain and the same georeference.

You can use a slide show:

Display 3D

With Display 3D, you can create and edit a georeference 3D in order to obtain a three dimensional view of one or more maps. A Digital Elevation Model (DEM) is required to create a georeference 3D. The DEM can then be displayed as 3D grid lines with or without a drape of a raster map.The georeference 3D can be edited with the Georeference 3D editor.

When finished editing the 3D view, you can add point, segment and/or polygon maps and/or annotation to improve the 3D view.

Apply 3D

The Apply 3D operation resamples an input raster map according to a georeference 3D. This enables you to permanently and quickly display the output raster map in three dimensions, i.e. as a 3D view.

You can create a georeference 3D with Display 3D or Apply 3D; a Digital Elevation Model is required and you have to specify 3D view parameters using the Georeference 3D editor.

Show stereo pair as anaglyph

Anaglyph will show a calculated stereo pair in a map window; the anaglyph is either displayed in Red-Green or in Red-Blue. You will be able to view the height differences in the stereo pair by using red-green or red-blue glasses.

To create a stereo pair, use the Epipolar Stereo Pair operation.

A stereo pair can also be shown in a Stereoscope window where you can view the stereo pair with a stereoscope.

Show stereo pair with stereoscope

Stereoscope will show a calculated stereo pair in a Stereo Pair - Stereoscope window; you will be able to view the height differences in the stereo pair by using a stereoscope.

To create a stereo pair, use the Epipolar Stereo Pair operation.

A stereo pair can also be shown as an Anaglyph in a map window.

 

RASTER OPERATIONS

Map Calculation

Map Calculation can be used to perform calculations with raster maps. Map calculation is used for the execution of most spatial analysis functions and modelling operations. It integrates spatial and tabular data. The program enables the user to perform overlay, retrieval operations, and queries. Type map calculation formulae on the command line of the Main Window.

The following operations can be executed:

Attribute map of raster map

By creating an attribute map of a raster map, the class name or ID of each pixel in the original map is replaced by the value, class or ID found in a certain column in an attribute table.

A raster map using a Class or ID domain, can have extra attribute information on the classes or identifiers in the map. These attributes are stored in columns in an attribute table. The attribute table can be linked to the map to which it refers, or to the domain of the map. You can check whether an attribute table is linked to the raster map or to its domain through the Properties dialog box of the map or the domain.

Cross

The Cross operation performs an overlay of two raster maps. Pixels on the same positions in both maps are compared; the occurring combinations of class names, identifiers or values of pixels in the first input map and those of pixels in the second input map are stored. These combinations give an output cross map and a cross table. The cross table also includes the number of pixels that occur for each combination.

Aggregate map

The Aggregate map operation aggregates blocks of input pixels by applying an aggregation function: Average, Count, Maximum, Median, Minimum, Predominant, Standard Deviation or Sum. The Aggregate Map operation either creates a new georeference in which each block of input pixels corresponds to one output pixel (group) or the output raster map uses the same georeference as the input map (no group).

Distance calculation

Distance calculation assigns to each pixel the smallest distance in meters towards user-specified source pixels, for example to schools, to roads etc. The output is called a distance map.

The input map for a distance calculation is called a source map: all pixels with a class name, ID, or value are regarded as source pixels, and distance values will be calculated for all pixels that are undefined. In the Distance calculation dialog box, a source map can be any raster map with a class domain or an ID domain. On the command line, you can also use raster maps with a value domain.

Inaccessible or less accessible areas can be indicated in a weight map. The weight factors in such a map represent the relative difficulty, a 'resistance', to surpass pixels. By using weight factors that are inversely proportional to the possible speed that can be obtained in different mapping units, a so-called travel time map can be calculated.

Through a distance calculation, also a Thiessen map can be calculated. A weight map can be used, but is not obligatory.

Iteration

Iterations are a special type of map calculations. They are a successive repetition of a mathematical operation, using the result of one calculation as input for the next. These calculations are performed line by line, pixel by pixel and take place in all directions. When a calculation in one direction is finished (for instance from top to bottom), a rotation takes place for the calculation in the next direction. The calculation stops when there are no more differences between an output map compared to the previous output map, or when a certain number of iterations is reached as defined before. Iterations are often used in combination with neighbourhood operations.

Area numbering

Area numbering is a raster operation which assigns unique identifiers to pixels with the same class names or values that are horizontally, vertically or diagonally connected.

The output of Area numbering is a map in which these connected areas are codified as Area 1, Area 2, etc. Furthermore, an attribute table is created for the output map. The table contains the new IDs; the class names, IDs, or values of the original mapping units; and the size (npix and area) of the unique output units.

Area numbering can be used to make a decision based on the size of individual groups of pixels with the same class name or value (uniquely identified areas) instead of on all pixels with the same class name or value.

Sub-map of raster map

The Sub-map of raster map operation copies a rectangular part of a raster map into a new raster map. The user has to specify row and column numbers or XY-coordinates of the input map to indicate the part of the input map that should be copied into the new raster map.

Glue raster maps

The Glue raster maps operation glues or merges two or more georeferenced input raster maps into one output raster map. The output map then comprises the total area of all input maps. The domains of the input maps are merged when needed. A resampling is performed when needed.

With the Glue raster maps operation, you can thus merge two or more adjacent or partly overlapping raster maps (i.e. make a mosaic), or glue smaller raster maps onto a larger one.

Mirror Rotate

The Mirror/Rotate operation allows you to reflect a raster map in a horizontal, vertical, or diagonal line, to transpose the map's rows and columns, or to rotate a raster map 90�, 180�, 270� (clock-wise).

Spatial Multi-Criteria Evaluation (SMCE)

Spatial Multi-Criteria Evaluation (SMCE) is an application that assists and guides a user in doing Multi-Criteria Evaluation (MCE) in a spatial way.

As input for the application, you need to build a criteria tree:

  1. specify a main goal and supply a name for the final output map,
  2. optionally, add groups to the main goal; a group is supposed to contain multiple factors,
  3. add criteria to the main goal, and specify whether a criterion is a factor or a constraint.

For each factor and for each constraint, you need to specify a name as text (like a description), and an input map or input attribute column.

A criteria tree lists and defines:

The output of the operation is a so-called 'composite index' raster map. This map combines all input data according to the rules for weighing and standardization of the factors and/or constraints. The output map shows the suitability for the goal that was set, and can be an aid in planning and decision-making.

 

IMAGE PROCESSING

Filter

Filtering is a raster operation in which each pixel value in a raster map is replaced with a new value.

The new value is obtained by applying a certain function to each input pixel and its direct neighbours. These neighbours are usually the 8 adjacent pixels (in a 3 x 3 filter) or the 24 surrounding pixels (in a 5 x 5 filter). When you create your own filters, any odd sized matrix is allowed (5 x 1, 11 x 23, 25 x 25).

Filtering is for instance used to sharpen a satellite image, to detect line features, etc.

Stretch

The Stretch operation re-distributes values of an input map over a wider or narrower range of values in an output map. Stretching can for instance be used to enhance the contrast in your map when it is displayed. Two stretch methods are available: linear stretching and histogram equalization.

Slicing

The Slicing operation classifies ranges of values of an input raster map into classes of an output map. A domain Group should be created beforehand; it lists the upper value boundaries of the groups and the output class names.

To perform an interactive slicing, you can create a representation value for the input map and change value boundaries and colors of the representation value.

Color separation

The Color separation operation allows you to extract different 'bands' for instance from a scanned or digital color photo as if using color filters when taking the picture. After color extraction, you can perform the normal Image Processing operations like Filtering, Classification, etc. on these bands.

Maps that have a Picture domain or the (24 bit) Color domain store for each pixel three values: Red, Green and Blue. The Color separation operation allows you to retrieve for each pixel either the Red, Green or Blue value and store these in a separate map. You can also retrieve Yellow, Magenta, Cyan, combined Gray values, or Hue, Saturation or Intensity values for each pixel.

Color composite

A color composite is a combination of three raster bands. One band is displayed in shades of red, one in shades of green and one in shades of blue. Putting three bands together in one color composite map can give a better visual impression of the reality on the ground, than by displaying one band at a time. Examples of color composites are false color (or IR) images and 'natural color' images.

The Color Composite operation on the Operations, Image Processing menu creates a permanent color composite raster map.

To interactively create a color composite, choose Show MapList as Color Composite from the Operations, Visualization menu. Interactively created color composites can be stored by saving the map window as a map view.

Cluster

Clustering, or unsupervised classification, is a rather quick process in which image data is grouped into spectral clusters based on the statistical properties of all pixel values. It is an automated classification approach with a maximum of 4 input bands.

Optionally, an attribute table can be created for the output map. The table will contain statistical information on the output clusters: the average, predominant and minimum and maximum value of each cluster as found in the input bands.

Sample

Sample is an interactive process of selecting training pixels in a sample set prior to an image classification.

In the sample set editor, select pixels that are characteristic for a certain type of a certain natural resource on the ground and that have similar spectral values in the maps in the map list, and assign a class name to them. The spectral values of these sampled pixels or training pixels provide the basis on which decisions are made during classification. These values can be inspected in the sample statistics of a certain class of training pixels and can be visualized in feature spaces. The result of Sampling is a filled sample set.

Classify

The Classify operation performs a multi-spectral image classification according to training pixels in a sample set (supervised classification).

The following classification methods can be used:

Resample

The Resample operation resamples a raster map from the map's current georeference to another target georeference. The coordinate of each output pixel is used to calculate a new value from close-by pixel values in the input map. Three resampling methods are available: nearest neighbour, bilinear interpolation, and bicubic interpolation.

In raster operations (e.g. MapCalc, Cross), all input raster maps must have the same georeference. Thus, prior to such operations, use Resample:

Epipolar stereo pair

With the Epipolar Stereo Pair operation, you will create a stereo pair from two scanned aerial photographs with overlap.

In short, the process is as follows:

Then, in the Epipolar Stereo Pair - Creation window:

When you close the Epipolar Stereo Pair - Creation window, both input photographs will be resampled to output maps, i.e. the stereo pair is calculated. Rotation differences and possible scale differences between the photographs will be removed.

A calculated stereo pair can be viewed:

Stereo pair from DTM

The Stereo pair from DTM operation creates a stereo pair from an input photograph or image and a Digital Terrain Model (DTM).

In the output stereo pair, the input photograph or image is displayed over the terrain.

The result can be viewed in stereo, either:

 

STATISTICS

Histogram

The Histogram operation calculates the histogram of a raster, polygon, segment or point map. Histograms list frequency information on the values, classes, or IDs in your map.

Results are presented in a histogram window as a table and as a graph. For Value raster maps, summary information, such as mean, standard deviation, and percentage intervals, is available in the histogram window as well as in the properties of the histogram.

A raster histogram lists the number of pixels, the percentages and the areas per value, class or ID. If the input raster map uses a Value domain, also cumulative number of pixels and cumulative percentages are calculated.

A polygon histogram lists the number of polygons and the perimeter and area of polygons per class, ID, or value. If the input polygon map uses a Value domain, also the cumulative number of polygons, cumulative perimeters and cumulative areas are calculated.
A segment histogram lists the number of segments and their length per class, ID or value. If the input segment map uses a Value domain, also the cumulative number of segments and cumulative lengths are calculated.
A point histogram lists the number of points per class, ID or value. If the input point map uses a Value domain, also the cumulative number of points are calculated.

Raster:

Autocorrelation - Semivariance

The Autocorrelation - Semivariance operation calculates the autocorrelation and semivariance of a raster map. The autocorrelation of a raster map is generated by calculating the correlation between pixel values of a raster map and pixel values of the same raster map for different shifts (lags) in horizontal and vertical directions. The semivariance, a measure for the spatial variability of a raster map, is calculated for the same shifts.

Variogram Surface

The Variogram surface operation uses a point map or a raster map as input and calculates a surface of semi-variogram values where each cell (pixel) in the surface represents a directional distance class. The output surface, a raster map with a special kind of georeference, may help you to visualize possible anisotropy of your data and to determine the direction of the anisotropy axis.

Subsequently, you can calculate directional semi-variograms by using the directional method in the Spatial correlation operation. From the output table of Spatial correlation, you can prepare a semi-variogram model and you can investigate the range of the variable in the semi-variogram model both in the direction of anisotropy as well as in the direction perpendicular to it. Then, you are ready to perform Anisotropic Kriging.

Map list:

Principal Components

The Principal Components Analysis operation is mathematical method to uncover relationships among many variables (as found in a set of raster maps in a map list) and to reduce the amount of data needed to define the relationships. With Principal Component Analysis each variable is transformed into a linear combination of orthogonal common components (output raster maps) with decreasing variation. The linear transformation assumes the components will explain all of the variance in each variable. Hence each component (output raster map) carries different information which is uncorrelated with other components.

Factor Analysis

The Factor analysis is used to uncover relationships among many variables (as found in a set of raster maps in a map list) and to reduce the amount of data needed to define the relationships. With Factor analysis each variable is transformed into a linear combination of orthogonal common factors (output raster maps) with decreasing variation. The linear transformation assumes the factors will explain all of the correlation in each variable. Hence each factor (output raster map) carries different information which is uncorrelated with other factors.

Variance-covariance matrix

The Variance-Covariance matrix operation calculates variances and covariances of raster maps in a map list. The variance is a means to express the variation of pixel values within a single raster map, i.e. a measure of the variation to the mean of the DN (Digital Number) values in a raster map. The covariance is a measure to express the variation of pixel values in two raster maps. It denotes the joint variation to the common mean of pixel values of the maps. Furthermore, the mean and standard deviation of each individual raster map is calculated.

Correlation matrix

The Correlation matrix operation calculates correlation coefficients of input raster maps of a map list. Correlation coefficients characterize the distribution of pixel values in two raster maps. Furthermore, the mean and standard deviation of each individual raster map is calculated.

Polygons:

Neighbour polygons

The Neighbour polygons operation finds adjacent (or neighbouring) polygons in a polygon map and calculates the length of the boundaries of adjacent polygons.

Segments:

Segment direction histogram

The Segment direction histogram operation calculates directions and lengths within segments, i.e. between all stored coordinates of the segments. The output is a table with directions from 0 to 179� and the length and number of the segment parts in that direction. The results can be shown in a rose diagram.

Points:

Spatial correlation

Spatial correlation calculates some point statistics: spatial autocorrelation (as Moran's I), spatial variance (as Geary's c) and semi-variogram values g(h). Semi-variogram values are either calculculated in all directions (omnidirectional) or in a certain direction and the perpendicular direction (bidirectional). This may help you to get an impression of the nature of your point data, for instance prior to a point interpolation. Furthermore, from the output table of the Spatial Correlation operation, you can create semi-variogram models in a graph window so that necessary input parameters for a Kriging, Anisotropic Kriging or Universal Kriging operation can be determined.

As input for this operation, you can use a point map with a value domain, or a point map with a class or ID domain with an attribute table that contains one or more value columns (the attribute table must be linked to the map). The output of this operation is a table from which you can create graphs such as a semi-variogram.

Variogram Surface

The Variogram surface operation uses a point map or a raster map as input and calculates a surface of semi-variogram values where each cell (pixel) in the surface represents a directional distance class. The output surface, a raster map with a special kind of georeference, may help you to visualize possible anisotropy of your data and to determine the direction of the anisotropy axis.

Subsequently, you can calculate directional semi-variograms by using the directional method in the Spatial correlation operation. From the output table of Spatial correlation, you can prepare a semi-variogram model and you can investigate the range of the variable in the semi-variogram model both in the direction of anisotropy as well as in the direction perpendicular to it. Then, you are ready to perform Anisotropic Kriging.

Cross Variogram

The Cross Variogram operation calculates experimental semi-variogram values for two variables and cross-variogram values for the combination of both variables. As input for the Cross Variogram operation, you can use a point map with a linked attribute table containing at least two value attribute columns. The Cross Variogram operation is a multivariate form of the Spatial correlation operation.

From the output table of the Cross Variogram operation, you can create semi-variogram models for both variables and a cross-variogram model for the combination of the variables in a graph window (Graph window : Add semi-variogram model). All three models serve as input for the CoKriging operation. CoKriging calculates estimates or predictions for a poorly sampled variable (the predictand) with help of a well-sampled variable (the covariable). The variables should be highly correlated (positive or negative).

Pattern Analysis

The Pattern analysis operation is a tool to obtain information on the spatial distribution of points in a point map. The output table contains six columns with the probabilities of finding 1 point (Prob1Pnt) within a certain distance from any point in your input map, then 2 points (Prob2Pnt), 3 points (Prob3Pnt), etc. Another column (ProbAllPnt) contains the sum of Prob1Pnt, Prob2Pnt, ..., Prob(n-1), in which n is the number of points in the input map.

By inspecting the graphs of distances against probabilities, you may recognize distribution patterns of your points like random, clustered, regular, paired etc.

 

INTERPOLATION

Raster:

Densify raster map

The Densify raster map operation reduces the pixel size of your map. The number of rows and columns is increased and the new pixels in between the existing ones are assigned a value by means of a bilinear or bicubic interpolation.

You should use densify after a point interpolation. Further, densify can be used to improve the quality of printed raster maps.

Raster:

Kriging from raster

Kriging from Raster is similar to the Ordinary Kriging interpolation c.q. prediction method but requires a raster map as input, instead of a point map. The operation can be seen as a raster interpolation and returns a raster map with estimations and optionally an error map. The estimations are weighted averaged input point values, similar to the Moving Average operation. The weight factors in Kriging from Raster are determined by using a user-specified semi-variogram model (based on the output of the Autocorrelation - Semivariance operation), the distribution of input pixels, and are calculated in such a way that they minimize the estimation error in each output pixel. The estimated or predicted values are thus a linear combination of the input values and have a minimum estimation error. The optional error map contains the standard errors of the estimates.

If you have an input point map, you can use the point interpolation operations Simple and Ordinary Kriging, Anisotropic Kriging, Universal Kriging and CoKriging.

Segments:

Contour interpolation

Contour interpolation is an operation which first rasterizes segments of a domain Value segment map, and then calculates values for pixels that are not covered by segments by means of a linear interpolation.

When using Contour interpolation on a segment map containing height (contour) information, the resulting raster map is a Digital Elevation Model.

Points:

Point interpolation

In a point interpolation, the input map is a point map, and the output map is a raster map. The pixel values in the raster output map are interpolated from the point values.

There are four point interpolations, Nearest point, Moving average, Trend surface, and Moving surface. For more information, see below.

Nearest point (Point interpolation)

The Nearest point operation requires a point map as input and returns a raster map as output. Each pixel in the output map is assigned the class name, identifier, or value of the nearest point, according to Euclidean distance. This method is also called Nearest Neighbour or Thiessen. The points in the input point map for the Nearest point operation do not need to be values necessarily; point maps (or attribute columns) with a class, ID or bool domain are also accepted.

For example, schools, hospitals, water wells, etc. can be represented by points. The output map of a nearest point operation on such a point map gives the 'service area' of the schools, hospitals or water wells, based on the shortest distance (as the crow flies) between points and pixels.

When you have many points or when you wish to use weights to indicate accessibilities, it is advised to rasterize the points, and then use Distance calculation to make a Thiessen map.

Moving average (Point interpolation)

The Moving average operation is a point interpolation which requires a point map as input and returns a raster map as output. To the output pixels, weighted averaged point values are assigned.

The weight factors for the points are calculated by a user-specified weight function. The weight function ensures that points close to an output pixel obtain larger weights than points which are farther away. Furthermore, the weight functions are implemented in such a way that points which are farther away from an output pixel than a user-defined limiting distance obtain weight zero.

When interpolating point values, it is for time efficiency reasons, strongly advised to choose a rather large pixel size for the output map. Further interpolation on the raster map values can be performed using the Densify operation or the Resample operation.

Trend surface (Point interpolation)

The Trend surface operation is a point interpolation which requires a point map as input and returns a raster map as output. One polynomial surface is calculated by a least squares fit so that the surface approaches all point values in the map. The calculated surface values are assigned to the output pixels.

Moving surface (Point interpolation)

The Moving surface operation is a point interpolation which requires a point map as input and returns a raster map as output. For each output pixel, a polynomial surface is calculated by a least squares fit; for each output pixel, the surface will approach the weighted point values of the points which fall within the specified limiting distance.

Weight factors for the input points are calculated by a user-specified weight function. The weight function ensures that points close to an output pixel obtain larger weights than points which are farther away. Furthermore, the weight functions are implemented in such a way that points which are farther away from an output pixel than a user-defined limiting distance obtain weight zero.

When interpolating point values, it is for time efficiency reasons, strongly advised to choose a rather large pixel size for the output map. Further interpolation on the raster map values can be performed using the Densify operation or the Resample operation.

Kriging

Kriging can be seen as a point interpolation which requires a point map as input and returns a raster map with estimations and optionally an error map. The estimations are weighted averaged input point values, similar to the Moving Average operation. The weight factors in Kriging are determined by using a user-specified semi-variogram model (based on the output of the Spatial correlation operation), the distribution of input points, and are calculated in such a way that they minimize the estimation error in each output pixel. The estimated or predicted values are thus a linear combination of the input values and have a minimum estimation error. Two methods are available: Simple Kriging and Ordinary Kriging. The optional error map contains the standard errors of the estimates.

Besides Simple and Ordinary Kriging, you can also use the operations Anisotropic Kriging, Universal Kriging, CoKriging, or Kriging from Raster.

Anisotropic Kriging

Anisotropic Kriging can be seen as a point interpolation, which requires a point map as input and which returns a raster map with estimations and optionally an error map. Anisotropic Kriging is a variant of the Ordinary Kriging operation: Anisotropic Kriging incorporates the influence of direction dependency.

Before Anisotropic Kriging, you should investigate the direction of anisotropy for instance with Variogram Surface, the semi-variogram values in two directions for instance with Spatial Correlation, and determine the range of the semi-variogram values in two directions by preparing semi-variogram models in a graph window (Graph window : Add semi-variogram model).

Universal Kriging

Universal Kriging can be seen as a point interpolation, which requires a point map as input and which returns a raster map with estimations and optionally an error map. Universal Kriging is a variant of the Ordinary Kriging operation: Universal Kriging is Kriging with a local trend. The local trend or drift is a continuous and slowly varying trend surface on top of which the variation to be interpolated is superimposed. The local trend is recomputed for each output pixel and the operation is therefore more similar to the Moving Surface operation than to the Trend Surface operation.

Before Universal Kriging, you should perform the Spatial Correlation operation, and determine a semi-variogram model in a graph window (Graph window : Add semi-variogram model).

CoKriging

CoKriging can be seen as a point interpolation, which requires a point map as input and which returns a raster map with estimations and optionally an error map. CoKriging is a multi-variate variant of the Ordinary Kriging operation: CoKriging calculates estimates or predictions for a poorly sampled variable (the predictand) with help of a well-sampled variable (the covariable). The variables should be highly correlated (positive or negative).

Before CoKriging, you should perform the Cross Variogram operation and determine a semi-variogram model for the predictand, for the covariable and a cross-variogram model for the combination of the variables in a graph window (Graph window : Add semi-variogram model). All three models serve as input for the CoKriging operation.

 

VECTOR OPERATIONS

Unique ID

The Unique ID operation can be used to assign unique identifiers to all elements in a segment, polygon or point map. The output map contains the same geographic information as the input map, but each point, segment or polygon will have a unique ID.

Furthermore, an attribute table is created for the output map. The table contains a column with the original classes, IDs or values of the input map; the areas of individual output polygons; the lengths of individual output segments.

Polygons:

Attribute map of polygon map

By creating an attribute map of a polygon map, the class name or ID of each polygon in the original map is replaced by the value, class or ID found in a certain column in an attribute table.

A polygon map using a Class or ID domain, can have extra attribute information on the classes or identifiers in the map. These attributes are stored in columns in an attribute table. The attribute table can be linked to the map to which it refers, or to the domain of the map. You can check whether an attribute table is linked to the polygon map or to its domain through the Properties dialog box of the map or the domain.

Mask polygons

The Mask polygons operation allows you to selectively copy polygons of an input polygon map into a new output polygon map. The user has to specify a mask to select and retrieve the class names, IDs or values of the polygons that are to be copied.

Assign labels to polygons

The Assign labels to polygons operation can be used to recode polygons in a polygon map according to label points in a point map. For each label point, the surrounding polygon is determined; then the class name, ID, or value of the label point is assigned to that polygon.

Transform polygon map

The Transform polygon map operation transforms the coordinates of polygon boundaries in a polygon map from the map's current coordinate system to another target coordinate system. You can choose whether coordinates of polygon boundaries should be densified before the transformation takes place.

The Transform operation can only be used when a transformation between the input and target coordinate systems is possible.

ID Grid map

The ID Grid map map operation uses a coordinate system and optionally an attribute table as input and creates a polygon map as output. The output polygon map consists of rectangular grid cells with a unique ID, and can be linked to a table with attribute data when sample data is available for the rectangular grid cells (e.g. biodiversity data in 5x5 km blocks).

Besides the above, the operation can create an additional point map with label points at the center of each grid cell.

Segments:

Attribute map of segment map

By creating an attribute map of a segment map, the class name or ID of each segment in the original map is replaced by the value, class or ID found in a certain column in an attribute table.

A segment map using a Class or ID domain, can have extra attribute information on the classes or identifiers in the map. These attributes are stored in columns in an attribute table. The attribute table can be linked to the map to which it refers, or to the domain of the map. You can check whether an attribute table is linked to the segment map or to its domain through the Properties dialog box of the map or the domain.

Mask segments

The Mask segments operation allows you to selectively copy segments of an input segment map into a new output segment map. The user has to specify a mask to select and retrieve the class names, identifiers or values of the segments that are to be copied.

Assign labels to segments

The Assign labels to segments operation can be used to recode segments in a segment map according to label points in a point map. For each label point, the closest segment is determined; then the class name, ID or value of the label point is assigned to that segment.

Sub-map of segment map

The Sub-map of segment map operation copies a rectangular part of a segment map into a new segment map.

The user has to specify minimum and maximum XY-coordinates for the new segment map. When the input map uses a coordinate system of type latlon, you need to specify minimum and maximum Latitudes and Longitudes.

Glue segment maps

The Glue segment maps operation glues or merges two or more segment maps into one output map. By default, the output map then comprises the total area of all input maps. The domains of the input maps are merged when needed.

For each input map, the user can specify a mask to select and retrieve the class names, IDs or values of the segments that are to be copied into the output map. The user can also specify a clip boundary, to copy only those segments to the output map which fall within the specified coordinate boundaries of the output map.

Densify segment coordinates

The Densify segment coordinates operation allows you to obtain more intermediate coordinates within segments. The segments of an input map are copied, and extra intermediate coordinates are added to the segments in the output map at a user-specified distance.

The Densify segment coordinates operation can be used separately before a Transform segments operation, but you can also use the Densify coordinates option within the Transform segments or the Transform polygons operations.

Tunnel segments

The Tunnel segments operation reduces the amount of intermediate points within segments in a segment map. The segments of the input map are copied into a new segment map. However, for every three consecutive intermediate points within a segment, the middle one is omitted if it falls within a user-defined tunnel-width. Redundant nodes can also be removed.

Transform segment map

The Transform segment map operation transforms the coordinates of segments in a segment map from the map's current coordinate system to another target coordinate system. You can choose whether segment coordinates should be densified before the transformation takes place.

The Transform operation can only be used when a transformation between the input and target coordinate systems is possible.

Points:

Attribute map of point map

By creating an attribute map of a point map, the class name or ID of each point in the original map is replaced by the value, class or ID found in a certain column in an attribute table.

A point map using a Class or ID domain, can have extra attribute information on the classes or identifiers in the map. These attributes are stored in columns in an attribute table. The attribute table can be linked to the map to which it refers, or to the domain of the map. You can check whether an attribute table is linked to the point map or to its domain through the Properties dialog box of the map or the domain.

Mask points

The Mask points operation allows you to selectively copy points of an input point map into a new output point map. The user has to specify a mask to select and retrieve the class names, IDs or values of the points that are to be copied.

Sub-map of point map

The Sub-map of point map operation copies all points within a user-specified rectangle into a new point map.

The user has to specify minimum and maximum XY-coordinates for the new point map. When the input map uses a coordinate system of type latlon, you need to specify minimum and maximum Latitudes and Longitudes.

Glue point maps

The Glue point maps operation glues or merges two or more point maps into one output map. By default, the output map then comprises the total area of all input maps. The domains of the input maps are merged when needed.

For each input map, the user can specify a mask to select and retrieve the class names, IDs or values of the points that are to be copied into the output map. The user can also specify a clip boundary, to copy only those points to the output map which fall within the specified coordinate boundaries of the output map.

Transform point map

The Transform point map operation transforms the coordinates of points in a point map from the map's current coordinate system to another target coordinate system.

The Transform operation can only be used when a transformation between the input and target coordinate systems is possible.

Coordinates:

Transform coordinates

The Transform coordinates allows you to:

In this way, you can interactively check whether a certain transformation is correct.

The Transform Coordinates dialog box can only be used when a transformation between the input coordinate system and the target coordinate system is possible.

Find datum transformation parameters

The Find datum transformation parameters operation enables you to find datum transformation parameters between the coordinate systems of two point maps, where:

You can choose to use one of the following calculation methods:

Optionally, you can save the calculated transformation parameters (into the coordinate system of the first point map).

 

RASTERIZE

Polygons to raster

The Polygons to raster operation rasterizes a polygon map. The class names, IDs, or values in the polygon map are also used in the raster map, i.e. the domain of the polygon map is also the domain of the raster map. The user has to select or create a georeference for the output raster map.

Segments to raster

The Segments to raster operation rasterizes a segment map. The class names, IDs, or values in the segment map are also used in the raster map, i.e. the domain of the segment map is also the domain of the raster map. The user has to select or create a georeference for the output raster map.

Segment density

The Segment density operation rasterizes a segment map. For each output pixel, the total length of segment parts within the boundaries the output pixel is summed: this is the output value for the pixel. By using a mask you can specify the elements of the input map that are to be used in the calculation.

Points to raster

The Points to raster operation rasterizes a point map. The class names, IDs, or values in the point map are also used in the raster map; i.e. the domain of the point map is also the domain of the raster map. The user has to select or create a georeference for the output raster map.

Point density

The Point density operation rasterizes a point map. For each output pixel, the number of points with a class name, ID or value located in the output pixel is counted: this is the output value for the pixel. When using the command line, you can also sum the values of points (or of point attributes). This operation can be used to examine the regional distribution of points or point values.

 

VECTORIZE

Raster to Polygons

The Raster to polygons operation extracts polygons from units in a raster map. The output polygon map uses the same domain as the input raster map, i.e. the class names or IDs in the input raster map will also be used for the polygons in the output polygon map. No polygons are created for pixels with the undefined value.

Raster to Segments

The Raster to segments operation extracts segments from the boundaries of mapping units in a raster map. You can choose to extract segments from 4-connected or 8-connected areas, and to smooth output segments or not.

Furthermore, you can choose to assign a single name 'Boundaries' to all output segments or to assign unique names like 'Boundary 1', 'Boundary 2', etc. to the output segments. In the latter case, an attribute table will be created for the output map which contains the original mapping unit names or values on either side of an extracted segment as well the lengths of the extracted segments.

Raster to Points

The Raster to Points operation extracts a point from each pixel in the raster map. Each point gets the value, class name or ID of the corresponding pixel.

Polygons to Segments

The Polygons to Segments operation extracts polygon boundaries and creates a segment map out of them. By default, the operation extracts segments from all polygon boundaries of the input map. A mask can be specified to extract segments of specific polygons.

You can choose whether to assign a single name 'Boundary' to all output segments, or to assign unique names (like 'Boundary 1', 'Boundary 2', etc.) to the output segments. In the latter case, an attribute table will be created for the output map which contains the original polygon names or values on either side of an extracted segment as well the lengths of the extracted segments.

The operation is useful when you want to edit/update boundaries of polygons.

Polygons to Points

The Polygon to Points operation creates a point for each polygon in the polygon map. Each point obtains the class name, ID, or value of the corresponding polygon. In this way, polygon label points are created. Optionally, you can also obtain label points for polygons which have no class name, no ID or no value, i.e. for undefined polygons.

Segments to Polygons

The Segments to Polygons operation automatically polygonizes a supposedly error free segment map. The operation is designed to be used after you have imported vector files from another package. All segments in the segment map must be connected to other segments or to themselves (islands) by nodes; dead ends, self overlap and/or intersections are not allowed. A mask can be specified to polygonize specific segments.

 

Mind: to interactively check or polygonize segments, use the Check Segments or the Polygonize option in the Segment editor.

Segments to Points

The Segments to Points operation creates a point map from a segment map. The output point map can contain either:

 

TABLE OPERATIONS

Transpose table

The Transpose table operation interchanges the rows and columns of a table. Each row of the input table becomes a column in the output table; while column names of the input table become output domain records.

Change domain of table

The Change domain of table operation copies the contents of an input table to a new table; the new table will have another domain than the input table.

For the domain of the output table, you can choose:

Table to point map

The Table to point map operation creates a point map out of a table.

For the coordinates of the points, you can use from the table:

Depending on the domain of the input table, you can furthermore choose between the following possibilities:

Glue tables

The Glue tables operation allows you to glue or merge two or more tables together. As input tables, you may use:

The Glue tables operation should be regarded as a tool to combine different tables. You can for instance combine or integrate attribute tables of different years. Tables with domain None can also be glued vertically one below the other.

 

HYDROLOGIC FLOW

DEM visualization

The DEM visualization script creates a color composite for you from a DEM. First, three shadow maps are created by the script, using three different shadow filters. The combination of them in a color composite gives a very good impression of the relief in your area.

As input is required:

At the end of the script, the color composite of the shadow maps is displayed.

For more information, refer to DEM visualization.

Flow determination:

Fill sinks

The Fill sinks operation 'removes' local depressions (of single pixels and of multiple pixels) from a Digital Elevation Model (DEM).

By using the Fill sinks operation,

it is ensured:

Flow direction

The Flow direction operation determines into which neighbouring pixel any water in a central pixel will flow.

Flow direction is calculated for every central pixel in input blocks of 3 by 3 pixels, each time comparing the value of the central pixel with the value of its 8 neighbouring pixels. The output map contains flow directions as N (to the North), NE (to the North East), etc.

You can choose to calculate flow direction according to steepest slope or according to lowest neighbour.

Flow accumulation

The Flow accumulation operation determines the number of pixels that naturally drain into outlets. The operation can be used to find the drainage pattern of a terrain.

 

Flow modification:

DEM optimization

The DEM optimization operation enables you to 'burn' existing drainage features into a Digital Elevation Model (DEM), so that a subsequent Flow direction operation on the output DEM will better follow the existing drainage pattern.

The DEM optimization operation offers the following possibilities:

Topological optimization

When a DEM and/or a flow direction map have undefined values, e.g. when there are lakes in the study area, the Topological Optimization operation can improve the results of a previous Flow Direction operation and a Drainage Network Extraction operation to ensure a proper flow through this lake.

As input, this operation requires:

As output, the operation delivers:

The output of this operation can serve as a new basis for the other hydrologic operations, e.g. to obtain new Strahler or Shreve order numbers, new catchments etc.

Variable threshold computation

The Variable threshold computation operation helps you to prepare a threshold map that can be used in a Drainage network extraction operation.

You can base the threshold map on a height map (DEM), or on attribute values from an attribute table of a raster map with a class or ID domain (e.g. infiltration attribute values in a table linked to a geological unit map).

As a user, you have to:

When height values are used as input, you can optionally obtain an internal relief map as additional output.

For more information on the calculations that will take place, refer to Variable threshold computation : functionality.

Network and Catchment Extraction:

Drainage network extraction

The Drainage network extraction operation extracts a basic drainage network (boolean raster map).

As input is required: the output raster map of the Flow Accumulation operation.

You can choose to use as additional input:

When using a threshold map, the operation will furthermore fill possible gaps between drainage lines.

The output raster map will show the basic drainage as pixels with value True, while other pixels have value False.

Drainage network ordering

The Drainage network ordering operation:

To limit the number of output streams and reduce calculation time, you can specify the minimum length that streams should have to remain in the network.

The output of this operation is a raster map, a segment map and an attribute table that all use a newly created ID domain.

The attribute table contains information on each stream, such as:

Catchment extraction

The Catchment extraction operation constructs catchments; a catchment will be calculated for each stream found in the output map of the Drainage Network Ordering operation.

As input is required:

As output a raster map, a polygon map and an attribute table are produced which all use the ID domain of the input Drainage Network Ordering map.

The attribute table contains information on each catchment, such as:

Catchment merge

The Catchment merge operation is able to merge adjacent catchments, as found by the Catchment Extraction operation. In fact, new catchments will be created on the basis of the Drainage Network Ordering map and its attribute table.

As input is required:

You can merge catchments in two manners:

As output a new catchment raster map, polygon map and attribute table are produced. These all use a new ID domain.

The attribute table contains information on the new catchments, similar to the output attribute table of the Catchment Extraction operation, but you will also find information on:

Compound Parameter Extraction:

Overland flow length

The Overland Flow Length operation calculates for each pixel the overland distance towards the 'nearest' drainage according to the flow paths available in the Flow Direction map.

As input is required:

Compound Index calculation

The Compound Index Calculation script calculates:

As input is required:

For more information, refer to Compound Index Calculation.

Statistical Parameter Extraction:

Horton statistics

The Horton statistics operation calculates for each (Strahler) stream order number and for each merged catchment:

 

The output is stored in a table which can be used to construct so-called Horton plots in a graph window.

Horton plots enable you to inspect the regularity of your extracted stream network based on the (Strahler) stream order numbers, and may serve as a quality control indicator for the entire stream network extraction process. It is expected that:

As input is required:

Aggregate statistics

The Aggregate statistics script allows you to cross a merged catchments map with a DEM (or any other map): you will obtain for each catchment the following values: average, minimum, maximum, std, predominant, median, sum, count.

The results are added as new columns to your existing merged catchments table.

As input is required:

For more information, refer to Aggregate statistics.

Cumulative hypsometric curve

The Cumulative hypsometric curve script crosses a merged catchments map with your DEM. The script will ask for the ID of a single catchment that you wish to use in the Cross. In the resulting cross table, cumulative values are calculated for the Area of subsequent height values in square kilometers and in percentages. The output is stored in columns: cum_area and cum_percent.

With the output cross table and its newly calculated columns, you can create graphs:

This will give you a so-called cumulative hypsometric curve.

As input, this script requires:

For more information, refer to Cumulative hypsometric curve.

Class coverage statistics

The Class coverage statistics script crosses a selected catchment from a merged catchments map with a raster map that has a class domain, for instance land use classes or land cover classes.

Then, for each class, the area in percentages is calculated, i.e. the area that is occupied by each class in the selected catchment. The output is stored in column area_percent.

As input, this script requires:

When the script is finished, the output cross table is displayed.

For more information, refer to Class coverage statistics.

 

IMPORT

Import files from another package into ILWIS 3.

You can choose to use: