mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			511 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			511 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "end_point",
 | 
						|
  "type": "function",
 | 
						|
  "groups": ["GeometryGroup"],
 | 
						|
  "description": "Returns the last node from a geometry.",
 | 
						|
  "arguments": [{
 | 
						|
    "arg": "geometry",
 | 
						|
    "description": "geometry object"
 | 
						|
  }],
 | 
						|
  "examples": [{
 | 
						|
    "expression": "end_point(@geometry)",
 | 
						|
    "returns": "end point of the current feature's geometry"
 | 
						|
  },{
 | 
						|
    "expression": "geom_to_wkt(end_point(geom_from_wkt('LINESTRING(4 0, 4 2, 0 2)')))",
 | 
						|
    "returns": "'Point (0 2)'"
 | 
						|
  }],
 | 
						|
  "tags": ["last", "node", "vertex"]
 | 
						|
}
 |