2025-07-03 20:06:43 +02:00

22 lines
601 B
Plaintext

{
"name": "is_multipart",
"type": "function",
"groups": ["GeometryGroup"],
"description": "Returns TRUE if the geometry is of Multi type.",
"arguments": [{
"arg": "geometry",
"description": "a geometry"
}],
"examples": [{
"expression": "is_multipart(@geometry)",
"returns": "checks if the current feature's geometry is multipart"
},{
"expression": "is_multipart(geom_from_wkt('MULTIPOINT ((0 0),(1 1),(2 2))'))",
"returns": "TRUE"
}, {
"expression": "is_multipart(geom_from_wkt('POINT (0 0)'))",
"returns": "FALSE"
}],
"tags": ["type", "multi"]
}