Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add more example
  • Loading branch information
DelazJ committed May 24, 2016
1 parent 1a3c416 commit 386fcc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/function_help/json/y
Expand Up @@ -3,6 +3,7 @@
"type": "function",
"description": "Returns the y coordinate of a point geometry, or the y-coordinate of the centroid for a non-point geometry.",
"arguments": [ {"arg":"geom","description":"a geometry"}],
"examples": [ { "expression":"y( geom_from_wkt( 'POINT(2 5)' ) )", "returns":"5"}
"examples": [ { "expression":"y( geom_from_wkt( 'POINT(2 5)' ) )", "returns":"5"},
{ "expression":"y( $geometry )", "returns":"y coordinate of the current feature's centroid"}
]
}

0 comments on commit 386fcc6

Please sign in to comment.