Unique ID

Command line

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

To apply the Unique ID operation on point maps:

OUTMAP

=

PointMapNumbering(InputMap)

OUTMAP

=

PointMapNumbering(InputMap, , prefix)

To apply the Unique ID operation on segment maps:

OUTMAP

=

SegmentMapNumbering(InputMap)

OUTMAP

=

SegmentMapNumbering(InputMap, , prefix)

To apply the Unique ID operation on polygon maps:

OUTMAP

=

PolygonMapNumbering(InputMap)

OUTMAP

=

PolygonMapNumbering(InputMap, , prefix)

where:

OUTMAP

is the name of your output point, segment or polygon map. This name will also be used for the output attribute table.

PointMapNumbering

is the command to start the Unique ID operation on point maps.

SegmentMapNumbering

is the command to start the Unique ID operation on segment maps.

PolygonMapNumbering

is the command to start the Unique ID operation on polygon maps.

InputMap

is the name of your input point, segment or polygon map.

prefix

is an optional parameter to specify a user-defined prefix for the output IDs; if this parameter is not specified, the output IDs will simply be Pol 1, Pol 2, Pol 3, or Seg 1, Seg 2, Seg 3, or Pnt 1, Pnt 2, Pnt 3, etc.

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. The output IDs will be stored by the output map, i.e. in a UniqueID domain (internal domain).

See also: