Skip to content

Commit 502a539

Browse files
pigreconyalldawson
authored andcommittedOct 2, 2022
print error example concave hull
function correction in the example in the help from `concavehull` to `concave_hull`
1 parent 49cf87d commit 502a539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎resources/function_help/json/concave_hull

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"description": "optional argument specifying whether to allow holes within the output geometry. Defaults to FALSE, set to TRUE to avoid including holes in the output geometry."
1717
}],
1818
"examples": [{
19-
"expression": "geom_to_wkt(concavehull(geom_from_wkt('MULTILINESTRING((106 164,30 112,74 70,82 112,130 94,130 62,122 40,156 32,162 76,172 88),(132 178,134 148,128 136,96 128,132 108,150 130,170 142,174 110,156 96,158 90,158 88),(22 64,66 28,94 38,94 68,114 76,112 30,132 10,168 18,178 34,186 52,184 74,190 100,190 122,182 148,178 170,176 184,156 164,146 178,132 186,92 182,56 158,36 150,62 150,76 128,88 118))'), 0.99))",
19+
"expression": "geom_to_wkt(concave_hull(geom_from_wkt('MULTILINESTRING((106 164,30 112,74 70,82 112,130 94,130 62,122 40,156 32,162 76,172 88),(132 178,134 148,128 136,96 128,132 108,150 130,170 142,174 110,156 96,158 90,158 88),(22 64,66 28,94 38,94 68,114 76,112 30,132 10,168 18,178 34,186 52,184 74,190 100,190 122,182 148,178 170,176 184,156 164,146 178,132 186,92 182,56 158,36 150,62 150,76 128,88 118))'), 0.99))",
2020
"returns": "'Polygon ((30 112, 36 150, 92 182, 132 186, 176 184, 190 122, 190 100, 186 52, 178 34, 168 18, 132 10, 112 30, 66 28, 22 64, 30 112))'"
2121
}],
2222
"tags": ["hull", "concave", "represents", "encloses", "set"]

0 commit comments

Comments
 (0)