Skip to main content
Returns whether a structurally readable native GEO value is topologically valid. It never repairs or rewrites the input.

Syntax

All seven XY OGC families are supported, including MULTI* and GEOMETRYCOLLECTION. GEOMETRY uses robust planar topology checks. GEOGRAPHY validates longitude/latitude, great-circle lines, spherical polygon loops and holes, and rejects multipolygon components with overlapping interiors. Its result can differ from planar validity for the same coordinates. A topology-invalid but readable value returns false. EMPTY values return true, and SQL NULL produces NULL. Malformed WKB, unsupported dimensions, and invalid or unsupported descriptors produce a controlled error rather than false.

Examples

Keywords

ST_ISVALID,ST,ISVALID,VALID,GEOGRAPHY,GEOMETRY GEOGRAPHY, GEOMETRY, BOOLEAN