Skip to content

Commit

Permalink
Expression calculator: clarify documentation for x_at() and y_at()
Browse files Browse the repository at this point in the history
(cherry picked from commit 5256611)
  • Loading branch information
AlisterH authored and nyalldawson committed Nov 29, 2018
1 parent f68dcc2 commit 71bbd71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/$x_at
Expand Up @@ -2,7 +2,7 @@
"name": "$x_at",
"type": "function",
"description": "Retrieves a x coordinate of the current feature's geometry.",
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index)"}],
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index, starting at -1)"}],
"examples": [ { "expression":"$x_at(1)", "returns":"5"}
]
}
2 changes: 1 addition & 1 deletion resources/function_help/json/$y_at
Expand Up @@ -2,7 +2,7 @@
"name": "$y_at",
"type": "function",
"description": "Retrieves a y coordinate of the current feature's geometry.",
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index)"}],
"arguments": [ {"arg":"i","description":"index of point of a line (indices start at 0; negative values apply from the last index, starting at -1)"}],
"examples": [ { "expression":"$y_at(1)", "returns":"2"}
]
}

0 comments on commit 71bbd71

Please sign in to comment.