mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			445 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			445 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "y",
 | 
						|
  "type": "function",
 | 
						|
  "groups": ["GeometryGroup"],
 | 
						|
  "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"},
 | 
						|
  { "expression":"y( $geometry )", "returns":"y coordinate of the current feature's centroid"}
 | 
						|
  ]
 | 
						|
}
 |