mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Merge pull request #8570 from AlisterH/ticket20665
Expression calculator: clarify documentation for x_at() and y_at() (addresses #20665)
This commit is contained in:
commit
f93af56fd6
@ -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,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"}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user