Skip to content

Commit 71bbd71

Browse files
AlisterHnyalldawson
authored andcommitted
Expression calculator: clarify documentation for x_at() and y_at()
(cherry picked from commit 5256611)
1 parent f68dcc2 commit 71bbd71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/function_help/json/$x_at

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "$x_at",
33
"type": "function",
44
"description": "Retrieves a x coordinate of the current feature's geometry.",
5-
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index)"}],
5+
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index, starting at -1)"}],
66
"examples": [ { "expression":"$x_at(1)", "returns":"5"}
77
]
88
}

resources/function_help/json/$y_at

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "$y_at",
33
"type": "function",
44
"description": "Retrieves a y coordinate of the current feature's geometry.",
5-
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index)"}],
5+
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index, starting at -1)"}],
66
"examples": [ { "expression":"$y_at(1)", "returns":"2"}
77
]
88
}

0 commit comments

Comments
 (0)