Skip to content

Commit

Permalink
docs: inform users that some expression functions are deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani committed Nov 29, 2022
1 parent d8131a0 commit 77e9491
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/json/$x
Expand Up @@ -2,7 +2,7 @@
"name": "$x",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns the x coordinate of the current point feature. If the feature is a multipoint feature, then the x-coordinate of the first point will be returned.",
"description": "Returns the x coordinate of the current point feature. If the feature is a multipoint feature, then the x-coordinate of the first point will be returned. <b>WARNING: This function is deprecated. It is recommended to use the replacement x() function with @geometry variable instead.</b>",
"examples": [{
"expression": "$x",
"returns": "42"
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/json/$x_at
Expand Up @@ -2,7 +2,7 @@
"name": "$x_at",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Retrieves a x coordinate of the current feature's geometry.",
"description": "Retrieves a x coordinate of the current feature's geometry. <b>WARNING: This function is deprecated. It is recommended to use the replacement x_at function with @geometry variable instead.</b>",
"arguments": [{
"arg": "i",
"description": "index of point of a line (indices start at 0; negative values apply from the last index, starting at -1)"
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/json/$y
Expand Up @@ -2,7 +2,7 @@
"name": "$y",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns the y coordinate of the current point feature. If the feature is a multipoint feature, then the y-coordinate of the first point will be returned.",
"description": "Returns the y coordinate of the current point feature. If the feature is a multipoint feature, then the y-coordinate of the first point will be returned. <b>WARNING: This function is deprecated. It is recommended to use the replacement y() function with @geometry variable instead.</b>",
"examples": [{
"expression": "$y",
"returns": "42"
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/json/$y_at
Expand Up @@ -2,7 +2,7 @@
"name": "$y_at",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Retrieves a y coordinate of the current feature's geometry.",
"description": "Retrieves a y coordinate of the current feature's geometry. <b>WARNING: This function is deprecated. It is recommended to use the replacement y_at function with @geometry variable instead.</b>",
"arguments": [{
"arg": "i",
"description": "index of point of a line (indices start at 0; negative values apply from the last index, starting at -1)"
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/json/$z
Expand Up @@ -2,7 +2,7 @@
"name": "$z",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns the z value of the current point feature if it is 3D. If the feature is a multipoint feature, then the z value of the first point will be returned.",
"description": "Returns the z value of the current point feature if it is 3D. If the feature is a multipoint feature, then the z value of the first point will be returned. <b>WARNING: This function is deprecated. It is recommended to use the replacement z() function with @geometry variable instead.</b>",
"examples": [{
"expression": "$z",
"returns": "123"
Expand Down

0 comments on commit 77e9491

Please sign in to comment.