Glossary

Well-Known text format (WKT)

Clifford McDowell

Well-Known text (WKT) geometries are used throughout the Open Geospatial Consortium (OGC) specifications and are present in applications that implement these specifications. For example, PostGIS and CARTO DB both contain functions that can convert geometries to and from a WKT representation, making them human-readable.

The OGC standard definition requires a polygon to be topologically closed. It also states that if the exterior linear ring of a polygon is defined in a counterclockwise direction it will be seen from the “top”. Any interior linear rings should be defined in opposite fashion compared to the exterior ring, in this case, clockwise.

WKT is the default format used to serve polygons in DoordaSpatial as it allows extraction at a line level.