mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Add more example
This commit is contained in:
parent
ff38f27dea
commit
1a3c41657f
@ -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"}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user