Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
1 deletion.
-
+2
−1
resources/function_help/json/x
|
@@ -3,6 +3,7 @@ |
|
|
"type": "function", |
|
|
"description": "Returns the x coordinate of a point geometry, or the x-coordinate of the centroid for a non-point geometry.", |
|
|
"arguments": [ {"arg":"geom","description":"a geometry"}], |
|
|
"examples": [ { "expression":"x( geom_from_wkt( 'POINT(2 5)' ) )", "returns":"2"} |
|
|
"examples": [ { "expression":"x( geom_from_wkt( 'POINT(2 5)' ) )", "returns":"2"}, |
|
|
{ "expression":"x( $geometry )", "returns":"x coordinate of the current feature's centroid"} |
|
|
] |
|
|
} |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.