Glue segment maps

Command line

The Glue segment maps operation can be directly executed by typing one of the following expressions on the command line of the Main window:

  

OUTMAP

=

SegmentMapGlue(InputSegmentMap1, "mask1", InputSegmentMap2, "mask2")

OUTMAP

=

SegmentMapGlue(InputSegmentMap1, "mask1", InputSegmentMap2, "mask2", NewDomain)

OUTMAP

=

SegmentMapGlue(InputSegmentMap1, "mask1", InputSegmentMap2, "mask2", InputSegmentMap3, "mask3")

etc.

  

OUTMAP

=

SegmentMapGlue(minX, minY, maxX, maxY, InputSegmentMap1, "mask1", InputSegmentMap2, "mask2")

OUTMAP

=

SegmentMapGlue(minX, minY, maxX, maxY, InputSegmentMap1, "mask1", InputSegmentMap2, "mask2", NewDomain)

OUTMAP

=

SegmentMapGlue(minX, minY, maxX, maxY, InputSegmentMap1, "mask1", InputSegmentMap2, "mask2", InputSegmentMap3, "mask3")

etc.

where:

OUTMAP

is the name of your output segment map.

SegmentMapGlue

is the command to start the Glue segment map operation.

InputSegmentMap1

is the name of the first input segment map.

InputSegmentMap2

is the name of the second segment map.

InputSegmentMap3

is the name of the third segment map (optional).

mask1

are the (multiple) search strings to find the classes, IDs or values of the segments in the first input map that you want to copy into the output map; on the command line, the total mask for each input map needs to be surrounded by double quotes. To copy all segments, use as mask: "*".

mask2

are the (multiple) search strings to find the classes, IDs or values of the segments in the second input map that you want to copy into the output map.

mask3

are the (multiple) search strings to find the classes, IDs or values of the segments in the third input map that you want to copy into the output map.

minX

minimum X-coordinate of output segment map (real number).

minY

minimum Y-coordinate of output segment map (real number).

maxX

maximum X-coordinate of output segment map (real number).

maxY

maximum Y-coordinate of output segment map (real number).

NewDomain

is an optional parameter, when merging Class or ID maps that do not have the same domain, to specify a name for the new output domain in which all input domain items will be merged. When input Class or ID domains are not the same and this parameter is not specified, the new output domain in which all input domain items are merged will be stored by the output map (internal domain).

On the command line, you can specify as many input segment maps and their masks as you like; i.e. you can merge as many segment maps as you like. When using the dialog box of this operation, only two, three or four input maps can be merged at a time.

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. When Class or ID maps are merged that do not have the same domain, and the NewDomain parameter is used, a new output domain is also created.

See also: