Nearest point

Command line

The Nearest Point operation can be directly executed by typing one of the following expressions on the command line of the Main window:

  

OUTMAP

=

MapNearestPoint(InputPointMap, Georeference)

OUTMAP

=

MapNearestPoint(InputPointMap, Georeference, plane | sphere)

OUTMAP

=

MapNearestPoint(InputPointMap.Column, Georeference)

OUTMAP

=

MapNearestPoint(InputPointMap.Column, Georeference, plane | sphere)

where:

OUTMAP

is the name of the output raster map.

MapNearestPoint

is the command to start the Nearest Point operation.

InputPointMap

is the name of the input point map (any domain).

InputPointMap.Column

is the name of the input point map (class or ID) which has a linked attribute table, and the name of a column (any domain) in this attribute table.

Georeference

is the name of an existing georeference that should be used for the output raster map.

plane | sphere

optional parameter to calculate distances in a plane (plane), or on the sphere by using the projection of the coordinate system as used by the georeference of the output raster map (sphere). If not specified, distances will be calculated in a plane.

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: