mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			630 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			630 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "translate",
 | 
						|
  "type": "function",
 | 
						|
  "groups": ["GeometryGroup"],
 | 
						|
  "description": "Returns a translated version of a geometry. Calculations are in the Spatial Reference System of this geometry.",
 | 
						|
  "arguments": [{
 | 
						|
    "arg": "geometry",
 | 
						|
    "description": "a geometry"
 | 
						|
  }, {
 | 
						|
    "arg": "dx",
 | 
						|
    "description": "delta x"
 | 
						|
  }, {
 | 
						|
    "arg": "dy",
 | 
						|
    "description": "delta y"
 | 
						|
  }],
 | 
						|
  "examples": [{
 | 
						|
    "expression": "translate(@geometry, 5, 10)",
 | 
						|
    "returns": "a geometry of the same type like the original one"
 | 
						|
  }],
 | 
						|
  "tags": ["spatial", "reference", "calculations", "system", "translated", "displace", "move"]
 | 
						|
}
 |