We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ff38f27 commit 1a3c416Copy full SHA for 1a3c416
resources/function_help/json/x
@@ -3,6 +3,7 @@
3
"type": "function",
4
"description": "Returns the x coordinate of a point geometry, or the x-coordinate of the centroid for a non-point geometry.",
5
"arguments": [ {"arg":"geom","description":"a geometry"}],
6
- "examples": [ { "expression":"x( geom_from_wkt( 'POINT(2 5)' ) )", "returns":"2"}
+ "examples": [ { "expression":"x( geom_from_wkt( 'POINT(2 5)' ) )", "returns":"2"},
7
+ { "expression":"x( $geometry )", "returns":"x coordinate of the current feature's centroid"}
8
]
9
}
0 commit comments