The Create Buffers and Reconstruct Tracks tools can apply buffers based on an expression. Buffer expressions can be straightforward, such as = Field1 + 10, or much more complicated.
To learn about the Arcade expressions available in ArcGIS Enterprise 10.6 or later, see Buffer expressions.
Buffer expressions must start with an equal sign (=). The buffer expression is applied to each feature in the dataset, where each feature may have a unique buffer distance. The following table explains the available functions:
Buffer expression functions
Function | Description |
---|---|
as_meters() | Applies a calculation assuming the input values are in meters. Syntax: as_meters( <value> ) <value> is one of the following:
Examples:
|
as_kilometers() | Applies a calculation assuming the input values are in kilometers. Syntax: as_kilometers( <value> ) <value> is one of the following:
Examples:
|
as_feet() | Applies a calculation assuming the input values are in feet. Syntax: as_feet( <value> ) <value> is one of the following:
Examples:
|
as_yards() | Applies a calculation assuming the input values are in yards. Syntax: as_yards( <value> ) <value> is one of the following:
Examples:
|
as_nautical_miles() | Applies a calculation assuming the input values are in nautical miles. Syntax: as_nautical_miles( <value> ) <value> is one of the following:
Examples:
|
abs() | Returns the absolute (positive) value of the input. Syntax: abs( <value> ) <value> is one of the following:
Examples:
|
log() | Returns the natural logarithm (base E) of the input. Syntax: log( <value> ) <value> is one of the following:
Examples:
|
sin() | Returns the trigonometric sine of the input value. The input is assumed to be an angle in radians. Syntax: sin( <value> ) <value> is one of the following:
Examples:
|
cos() | Returns the trigonometric cosine of the input value. The input is assumed to be an angle in radians. Syntax: cos( <value> ) <value> is one of the following:
Examples:
|
tan() | Returns the tangent of the input value. The input is assumed to be an angle in radians. Syntax: tan( <value> ) <value> is one of the following:
Examples:
|
sqrt() | Returns the square root of the input value. Syntax: sqrt( <value> ) <value> is one of the following:
Examples:
|
min(,) | Returns the lowest valued number in the input field. Syntax: min( <value>, <value> ) <value> is one of the following:
Examples:
|
max(,) | Returns the highest valued number in the input field. Syntax: max( <value>, <value> ) <value> is one of the following:
Examples:
|
constrain(,,) | Returns the input value if it's within the constraining bounds. If the value is less than the low value, it returns the low value. If the value is greater than the high value, it returns the high value. Syntax: constrain( <value> , <low> , <high> ) value, low, and high can be the following:
Examples: Nota:At 10.5, use fields in the format feature['Store dist']; starting at 10.5.1, use fields in the format $feature['Store dist'].
|
iff(,,) | Returns one value if a condition evaluates to true, and another value if that condition evaluates to false. Syntax: iff( <condition>, <true value> , < false value> ) condition is a conditional that is tested for each feature. true value and false value can be the following:
Examples: Nota:At 10.5, use fields in the format feature['Store dist']; starting at 10.5.1, use fields in the format $feature['Store dist'].
|
when(,,,...,,) | Evaluates a series of expressions in turn, until one evaluates to true. Syntax: when( <expression1> , <result1> , <expression2> , <result2> , ... , <expressionN> , <resultN>, <default> )
Example: Nota:At 10.5, use fields in the format feature['Store dist']; starting at 10.5.1, use fields in the format $feature['Store dist'].
|
decode(,,,...,,) | The decode function evaluates an expression and compares its value with subsequent parameters. If the expression matches, it returns the next parameter value. If none match, there is the option for the last parameter to be a default return value. Syntax: decode( <conditional val> , <case1> , <result1>, <case2>, <result2>, ... <caseN>, <resultN>, <defaultValue> )
Examples: Nota:At 10.5, use fields in the format feature['Store dist']; starting at 10.5.1, use fields in the format $feature['Store dist'].
|