Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
547 B
Plaintext
Raw Permalink Normal View History

{
"name": "is_valid",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["GeometryGroup"],
"description": "Returns TRUE if a geometry is valid; if it is well-formed in 2D according to the OGC rules.",
"arguments": [{
"arg": "geometry",
"description": "a geometry"
}],
"examples": [{
"expression": "is_valid(geom_from_wkt('LINESTRING(0 0, 1 1, 2 2, 0 0)'))",
"returns": "TRUE"
}, {
"expression": "is_valid(geom_from_wkt('LINESTRING(0 0)'))",
2022-03-21 09:20:52 +01:00
"returns": "FALSE"
}],
"tags": ["rules", "valid", "ogc", "according", "formed"]
}