mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
11 lines
646 B
Plaintext
11 lines
646 B
Plaintext
{
|
|
"name": "is_empty",
|
|
"type": "function",
|
|
"description": "Returns true if a geometry is empty (without coordinates), false if the geometry is not empty and NULL if there is no geometry.",
|
|
"arguments": [ {"arg":"geom","description":"a geometry"}],
|
|
"examples": [ { "expression":"is_empty(geom_from_wkt('LINESTRING(0 0, 1 1, 2 2)'))", "returns":"false"},
|
|
{ "expression":"is_empty(geom_from_wkt('LINESTRING EMPTY'))", "returns":"true"},
|
|
{ "expression":"is_empty(geom_from_wkt('POINT(7 4)'))", "returns":"false"},
|
|
{ "expression":"is_empty(geom_from_wkt('POINT EMPTY'))", "returns":"true"} ]
|
|
}
|