Back to Glossary

WKT (Well-Known Text)

A plain-text format for geometries (e.g., POLYGON, MULTIPOLYGON) widely used in GIS and spatial databases.

Category: Formats · Also known as: Well Known Text, OGC WKT

Definition (expanded)

WKT (Well-Known Text) encodes a single geometry as text, such as POLYGON((...)) or MULTIPOLYGON(((...))). It's common in PostGIS, BigQuery GIS, and desktop GIS workflows. WKT represents one geometry value. Multiple features are typically stored as multiple rows, or wrapped in a GEOMETRYCOLLECTION or a MULTI* geometry.

Examples

Polygon (WKT)

Coordinates shown as lon lat.

WKT

POLYGON((12.0 55.0, 12.2 55.0, 12.2 55.2, 12.0 55.2, 12.0 55.0))

Common mistakes