mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
16 lines
524 B
Plaintext
16 lines
524 B
Plaintext
{
|
|
"name": "segments_to_lines",
|
|
"type": "function",
|
|
"groups": ["GeometryGroup"],
|
|
"description": "Returns a multi line geometry consisting of a line for every segment in the input geometry.",
|
|
"arguments": [{
|
|
"arg": "geometry",
|
|
"description": "geometry object"
|
|
}],
|
|
"examples": [{
|
|
"expression": "geom_to_wkt(segments_to_lines(geom_from_wkt('LINESTRING(0 0, 1 1, 2 2)')))",
|
|
"returns": "'MultiLineString ((0 0, 1 1),(1 1, 2 2))'"
|
|
}],
|
|
"tags": ["consisting", "segment", "input", "multi", "line"]
|
|
}
|