Skip to content

Commit 2c9a97d

Browse files
authoredJul 26, 2021
Merge pull request #44380 from pigreco/toto
correction examples expr: make_rectangle_3points
1 parent 54634d9 commit 2c9a97d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎resources/function_help/json/make_rectangle_3points

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"An optional argument to construct the rectangle. By default this value is 0. Value can be 0 (distance) or 1 (projected). Option distance: Second distance is equal to the distance between 2nd and 3rd point. Option projected: Second distance is equal to the distance of the perpendicular projection of the 3rd point on the segment or its extension."}
1212
],
1313
"examples": [
14-
{ "expression":"geom_to_wkt(make_rectangle(make_point(0, 0), make_point(0,5), make_point(5, 5), 0)))", "returns":"'Polygon ((0 0, 0 5, 5 5, 5 0, 0 0))'"},
15-
{ "expression":"geom_to_wkt(make_rectangle(make_point(0, 0), make_point(0,5), make_point(5, 3), 1)))", "returns":"'Polygon ((0 0, 0 5, 5 5, 5 0, 0 0))'"}
14+
{ "expression":"geom_to_wkt(make_rectangle_3points(make_point(0, 0), make_point(0,5), make_point(5, 5), 0)))", "returns":"'Polygon ((0 0, 0 5, 5 5, 5 0, 0 0))'"},
15+
{ "expression":"geom_to_wkt(make_rectangle_3points(make_point(0, 0), make_point(0,5), make_point(5, 3), 1)))", "returns":"'Polygon ((0 0, 0 5, 5 5, 5 0, 0 0))'"}
1616
]
1717
}

0 commit comments

Comments
 (0)
Please sign in to comment.