Returns a row, containing a booleanDocumentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
valid stating if a geometry is valid, a string reason stating why it is invalid and a geometry location pointing out where it is invalid.
This function is a combination of ST_IsValid and ST_IsValidReason.
The flags parameter is a bitfield with the following options:
- 0 (default): Use usual OGC SFS (Simple Features Specification) validity semantics.
- 1: “ESRI flag”, Accepts certain self-touching rings as valid, which are considered invalid under OGC standards.
Signatures
Parameters
The input geometry.
The validation flag.
Return type
A struct containing the result fields.

