Ramp

rescale-functions ramp

syntax

  • ramp(startvalue, endvalue, domain unit)

definition

ramp(startvalue, endvalue, domainunit) ramps values, starting with the startvalue argument and ending with the endvalue argument.

The number of values is defined by the cardinality of the domain-unit argument.

applies to

unit domain unit with value-type from group CanBeDomainUnit

since version

7.031

example

attribute<uint32> ramped (City) := ramp(0, 70, City);
ramped
0
11
23
35
46
58
70

domain City, nr of rows = 7

see also