mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
9 lines
435 B
Plaintext
9 lines
435 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))'"}]
|
|
}
|