Skip to content
Permalink
Browse files

Add more example

  • Loading branch information
DelazJ committed May 24, 2016
1 parent 1a3c416 commit 386fcc67ab593380d25a1c626b614c8ad489d7cd
Showing with 2 additions and 1 deletion.
  1. +2 −1 resources/function_help/json/y
@@ -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.
You can’t perform that action at this time.