Back to Glossary

Polygon

A closed area geometry defined by an exterior ring and optional interior rings (holes).

Category: Geometry · Also known as: Area geometry

Definition (expanded)

A Polygon consists of one exterior ring (the boundary) and zero or more interior rings (holes). Rings are sequences of coordinates where the first and last coordinate are identical (closed). In GeoJSON, a Polygon is an array of linear rings. In WKT it is POLYGON((outer), (hole1), (hole2)).

Examples

Polygon with a hole (WKT)

WKT

POLYGON((0 0, 10 0, 10 10, 0 10, 0 0),(3 3, 7 3, 7 7, 3 7, 3 3))

Common mistakes

Related tools