Geometry
Point
Curve
LineString
Surface
Polygon
GeometryCollection
MultiPoint
MultiCurve
MultiLineString
MultiSurface
MultiPolygon
Polygon
A Polygon
is a planar Surface
representing a multisided
geometry. It is defined by a single exterior boundary and zero or more
interior boundaries, where
each interior boundary defines a hole in the Polygon
.
Polygon
ExamplesPolygon
objects could represent forests, districts, etc.
Polygon
AssertionsPolygon
consists of a set of LinearRing
s
(that is, LineString
s that are both simple and closed) that make up its
exterior and interior boundaries.
Polygon
may intersect at a Point
, but only as a tangent.
Polygon
may not have cut lines, spikes, or punctures.
Polygon
is a connected point set.
Polygon
with one or more holes is not connected.
Each hole defines a connected component of the exterior.
In the above assertions, polygons are simple geometries. These assertions make
a Polygon
a simple geometry.