mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
angle_at_vertex: returns average (bisector) angle to a geometry at a specified vertex index distance_to_vertex: returns distance along geometry to a specified vertex index line_interpolate_angle: calculates the angle parallel to a geometry at the specified distance along the geometry Sponsored by Andreas Neumann
9 lines
533 B
Plaintext
9 lines
533 B
Plaintext
{
|
|
"name": "line_interpolate_angle",
|
|
"type": "function",
|
|
"description": "Returns the angle parallel to the geometry at a specified distance along a linestring geometry. Angles are in degrees clockwise from north.",
|
|
"arguments": [ {"arg":"geometry","description":"a linestring geometry"},
|
|
{"arg":"distance","description":"distance along line to interpolate angle at"}],
|
|
"examples": [ { "expression":"line_interpolate_angle(geometry:=geom_from_wkt('LineString(0 0, 10 0)'),distance:=5)", "returns":"90.0"}]
|
|
}
|