fix and improve description

This commit is contained in:
lbartoletti 2019-12-13 07:21:33 +01:00
parent 6c49ada54e
commit 780d9e9fd7

View File

@ -1,7 +1,7 @@
{
"name": "is_empty",
"type": "function",
"description": "Returns true if a geometry is empty (without coordinates) or false if the geometry is empty.",
"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"},