Point density

Command line

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

  

OUTMAP

=

MapRasterizePointCount(InputPointMap, Georeference, PointSize)

OUTMAP

=

MapRasterizePointSum(InputPointMap, Georeference, PointSize)

where:

OUTMAP

is the name of your output raster map.

MapRasterizePointCount

is the command to start the Point density operation and counting the number of points inside pixels.

MapRasterizePointSum

is the command to start the Point density operation and summing the values of the points or the attribute values of points inside pixels. This command can only be used on the command line.

InputPointMap

is the name of your input point map. When using MapRasterizePointCount, the map may use any domain. When using MapRasterizePointSum, the map has to use a value domain or you have to specify an attribute column of an attribute table linked to the point map as InputPointMap.ColumnName

Georeference

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

PointSize

is the point size (integer value > 0) of the output map. Point size 1 means each point is counted in 1 pixel in the output map. Point size 2 means that each point is counted in 2*2 pixels in the output 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: