mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Adds new functions - line_interpolate_point: interpolates a point by a given distance along a linestring geometry - line_locate_point: returns the distance along a linestring to the closest position on the linestring to a given point
		
			
				
	
	
		
			9 lines
		
	
	
		
			490 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			490 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "line_interpolate_point",
 | 
						|
  "type": "function",
 | 
						|
  "description": "Returns the point interpolated by a specified distance along a linestring geometry.",
 | 
						|
  "arguments": [ {"arg":"geometry","description":"a linestring geometry"},
 | 
						|
                 {"arg":"distance","description":"distance along line to interpolate"}],
 | 
						|
  "examples": [ { "expression":"geom_to_wkt(line_interpolate_point(geometry:=geom_from_wkt('LineString(0 0, 10 0)'),distance:=5))", "returns":"'Point (5 0)'"}]
 | 
						|
}
 |