Mapping_count
Aggregation functions mapping_count
syntax
- mapping_count(orgGridUnit, destGridUnit, Value type)
definition
- mapping_count(orgGridUnit, destGridUnit, value type) is defined as the count of the number of cells of the orgGridUnit Domain unit in the destGridUnit domain, expressed in the Value type Argument.
description
The mapping_count(orgGridUnit, destGridUnit, uint32) function is a synonym for Pcount (mapping(orgGridUnit,destGridUnit)).
Use the mapping_count function if the number of cells in the orgGridUnit is very large (the mapping function would then also result in a large Data item).
The explicit configuration of the value type argument is also useful to limit the size of the resulting data item.
applies to
Domain units orgGridUnit and destGridUnit with a Point value type of the group CanBeDomainUnit.
since version
7.160
example
attribute<uint16> countNr15Cells (GridDomain3000) := mapping_count(GridDomain15, GridDomain3000, uint16);
| countNr15Cells |
|---|
| 40000 |
| 40000 |
| 40000 |
| 40000 |
| 40000 |
| 40000 |
| 40000 |
| 40000 |
| 40000 |
domain GridDomain3000, nr of rows = 9