Distance calculation

Command line (1)

To create a distance map or a travel time map, the distance calculation can be directly executed by typing one of the following expressions on the command line of the Main window:

  

OUTMAP

=

MapDistance(SourceMap)

OUTMAP

=

MapDistance(SourceMap,WeightMap)

where:

OUTMAP

is the name of your output raster distance map.

MapDistance

is the command to start the Distance calculation operation.

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 link is immediately broken after the output map has been calculated.

See also: