mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
19 lines
703 B
Plaintext
19 lines
703 B
Plaintext
{
|
|
"name": "line_interpolate_angle",
|
|
"type": "function",
|
|
"groups": ["GeometryGroup"],
|
|
"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"
|
|
}],
|
|
"tags": ["distance", "angles", "parallel", "specified", "clockwise", "angle", "linestring", "degrees", "north"]
|
|
}
|