mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -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
437 B
Plaintext
9 lines
437 B
Plaintext
{
|
|
"name": "distance_to_vertex",
|
|
"type": "function",
|
|
"description": "Returns the distance along the geometry to a specified vertex.",
|
|
"arguments": [ {"arg":"geometry","description":"a linestring geometry"},
|
|
{"arg":"vertex","description":"vertex index, starting from 0"}],
|
|
"examples": [ { "expression":"distance_to_vertex(geometry:=geom_from_wkt('LineString(0 0, 10 0, 10 10)'),vertex:=1)", "returns":"10.0"}]
|
|
}
|