Glue raster maps

Command line

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

  

OUTMAP

=

MapGlue(FirstInputMapName, SecondInputMapName [, MoreInput Maps])

OUTMAP

=

MapGlue(FirstInputMapName, SecondInputMapName [, MoreInput Maps] , Replace)

OUTMAP

=

MapGlue(FirstInputMapName, SecondInputMapName [, MoreInput Maps] , NewDomain)

OUTMAP

=

MapGlue(FirstInputMapName, SecondInputMapName [, MoreInput Maps] , NewDomain, Replace)

OUTMAP

=

MapGlue(Georeference.grf, FirstInputMapName, SecondInputMapName [, MoreInput Maps] [, NewDomain] [, Replace])

where:

OUTMAP

is the name of your output raster map.

MapGlue

is the command to start the Glue raster maps operation.

Georeference.grf

is an optional parameter to specify the name of an existing georeference that you wish to use as the georeference for the output raster map. When you wish to use an existing georeference, it is required to specify the extension .grf.

If the parameter is not specified, the system will create a new georeference for the output map.

FirstInputMapName

is the name of the first input raster map.

SecondInputMapName

is the name of the second input raster map.

MoreInputMaps

optionally, you can specify more input raster map names, delimited by commas.

Replace

is an optional parameter to use for overlapping pixels the values, class names, IDs or colors of the last input map. When this parameter is not used, then the values, class names, IDs or colors of the first input map will be used for overlapping pixels.

NewDomain

is an optional parameter in case of 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 raster maps as you like; i.e. you can merge as many raster 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.

Furthermore, if no existing georeference is specified, a georeference submap is created with the same name as the output map. In case Class or ID maps are merged which do not have the same domain, and the NewDomain parameter is used, a new output domain is also created.

See also: