Distance calculation

Command line (2)

To create a Thiessen map, one of the following expressions can be typed on the command line of the Main window:

 

OUTDist

=

MapDistance(SourceMap, WeightMap, OutThies)

OUTDist

=

MapDistance(SourceMap, 1, OutThies)

OUTDist

=

MapDistance(SourceMap, , OutThies)

 

OUTThies

=

MapThiessen(SourceMap, OutDist)

OUTThies

=

MapThiessen(SourceMap, WeightMap, OutDist)

OUTThies

=

MapThiessen(SourceMap, 1, OutDist)

OUTThies

=

MapThiessen(SourceMap, , OutDist)

where:

OUTDist

is the name of your output raster distance map.

OUTThies

is the name of your output raster Thiessen map.

MapDistance

is the command to start the Distance calculation operation. In the expressions above, also a Thiessen map is calculated.

MapThiessen

is the command to start the calculation of a Thiessen map. When calculating a Thiessen map, also a distance map is calculated.

SourceMap

is the name of the source map; the source map can be a map with a class, ID, or value domain.

WeightMap

is the name of the optional weight map; the weight map should be a map with a value domain.

When the definition symbol = is used, a dependent output map is created; when the assignment symbol := is used, the dependency links are immediately broken after the output maps have been calculated.

See also: