Segment density

Command line

The Segment density operation can be directly executed by typing the following expression on the command line of the Main window:

  

OUTMAP

=

MapSegmentDensity(InputSegmentMap,"mask", Georeference)

where:

OUTMAP

is the name of your output raster map.

MapSegmentDensity

is the command to start the Segment Density operation.

InputSegmentMap

is the name of your input segment map.

"mask"

are the (multiple) search strings to find the classes, IDs or values in the input map that you want to use in the calculation of the output map; on the command line, the total mask needs to be surrounded by double quotes.

Georeference

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

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.

Tip:

In a script, you can prepare a georeference corners before rasterizing by using the crgrf command. See Appendices : ILWIS script language.

See also: