mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			467 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			467 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "get_feature_by_id",
 | 
						|
  "type": "function",
 | 
						|
  "groups": ["Record and Attributes"],
 | 
						|
  "description": "Returns the feature with an id on a layer.",
 | 
						|
  "arguments": [ {"arg":"layer","description":"layer, layer name or layer id"},
 | 
						|
                 {"arg":"feature_id","description":"the id of the feature which should be returned"}],
 | 
						|
  "examples": [ { "expression":"get_feature('streets', 1)", "returns":"the feature with the id 1 on the layer \"streets\""}]
 | 
						|
}
 |