Skip to content

Commit d68107e

Browse files
lbartolettinyalldawson
authored andcommitted
Add missing make_triangle function help. Fix #16406
1 parent 0343162 commit d68107e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "make_triangle",
3+
"type": "function",
4+
"description": "Creates a triangle polygon.",
5+
"variableLenArguments": false,
6+
"arguments": [
7+
{"arg":"point 1", "description": "first point of the triangle"},
8+
{"arg":"point 2", "description": "second point of the triangle"},
9+
{"arg":"point 3", "description": "third point of the triangle"}],
10+
"examples": [ { "expression":"geom_to_wkt(make_triangle(make_point(0,0), make_point(5,5), make_point(0,10)))", "returns":"'Triangle ((0 0, 5 5, 0 10, 0 0))'"},
11+
{ "expression":"geom_to_wkt(boundary(make_triangle(make_point(0,0), make_point(5,5), make_point(0,10))))", "returns":"'LineString (0 0, 5 5, 0 10, 0 0)'"}
12+
]
13+
}

0 commit comments

Comments
 (0)